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; + } } }