machine_setup/ansible/roles/poudrierenginx/files/nginx.conf
Tom Alexander 3751629166
Enable dark theme.
This should hopefully carry over into the browser and such so I don't get blinded.
2023-08-13 16:17:53 -04:00

44 lines
805 B
Nginx Configuration File

worker_processes auto;
user www www;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
types {
text/plain log;
}
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;
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;
}
}
}