From 67da2cc7c9b73aa3b0a87d70637dee6be007ebb3 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Tue, 30 May 2023 13:36:00 -0400 Subject: [PATCH] Expose the built packages from the poudriere host. --- ansible/roles/poudrierenginx/files/nginx.conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ansible/roles/poudrierenginx/files/nginx.conf b/ansible/roles/poudrierenginx/files/nginx.conf index 68d7568..5fc33c2 100644 --- a/ansible/roles/poudrierenginx/files/nginx.conf +++ b/ansible/roles/poudrierenginx/files/nginx.conf @@ -20,15 +20,20 @@ http { listen 8080 default; listen [::]:8080; server_name freebsdpkg.fizz.buzz; - + location / { root /usr/local/share/poudriere/html; index index.html index.htm; } - + location /data { alias /usr/local/poudriere/data/logs/bulk; autoindex on; } + + location /repo { + alias /usr/local/poudriere/data/packages; + autoindex on; + } } }