Loading hosts/osuosl5-amd64/etc/nginx/nginx.conf 0 → 100644 +32 −0 Original line number Diff line number Diff line user www-data; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; events { worker_connections 1024; } http { include mime.types; sendfile on; server_tokens off; server { listen 80; server_name localhost; location /rebuilder-snapshot/api { rewrite /rebuilder-snapshot/api/(.+) /$1 break; proxy_pass http://127.0.0.1:5001; include proxy_params; } location /rebuilder-snapshot/storage { alias /srv/data/rebuilder-snapshot/storage; autoindex on; } } } Loading
hosts/osuosl5-amd64/etc/nginx/nginx.conf 0 → 100644 +32 −0 Original line number Diff line number Diff line user www-data; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; events { worker_connections 1024; } http { include mime.types; sendfile on; server_tokens off; server { listen 80; server_name localhost; location /rebuilder-snapshot/api { rewrite /rebuilder-snapshot/api/(.+) /$1 break; proxy_pass http://127.0.0.1:5001; include proxy_params; } location /rebuilder-snapshot/storage { alias /srv/data/rebuilder-snapshot/storage; autoindex on; } } }