2023-05-29 17:14:53 +00:00
|
|
|
worker_processes auto;
|
|
|
|
user www www;
|
|
|
|
|
|
|
|
events {
|
|
|
|
worker_connections 1024;
|
|
|
|
}
|
|
|
|
|
|
|
|
http {
|
|
|
|
include mime.types;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
|
2023-08-10 22:26:40 +00:00
|
|
|
types {
|
|
|
|
text/plain log;
|
|
|
|
}
|
|
|
|
|
2023-05-29 17:14:53 +00:00
|
|
|
sendfile on;
|
|
|
|
tcp_nopush on;
|
|
|
|
tcp_nodelay on;
|
|
|
|
gzip on;
|
|
|
|
|
|
|
|
include conf.d/headers.include;
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 8080 default;
|
|
|
|
listen [::]:8080;
|
|
|
|
server_name freebsdpkg.fizz.buzz;
|
2023-05-30 17:36:00 +00:00
|
|
|
|
2023-05-29 17:14:53 +00:00
|
|
|
location / {
|
|
|
|
root /usr/local/share/poudriere/html;
|
|
|
|
index index.html index.htm;
|
|
|
|
}
|
2023-05-30 17:36:00 +00:00
|
|
|
|
2023-05-29 17:14:53 +00:00
|
|
|
location /data {
|
|
|
|
alias /usr/local/poudriere/data/logs/bulk;
|
|
|
|
autoindex on;
|
|
|
|
}
|
2023-05-30 17:36:00 +00:00
|
|
|
|
|
|
|
location /repo {
|
|
|
|
alias /usr/local/poudriere/data/packages;
|
|
|
|
autoindex on;
|
|
|
|
}
|
2023-05-29 17:14:53 +00:00
|
|
|
}
|
|
|
|
}
|