Files
lightcraft/image/nginx.conf
T
feedc0de 4fc1edc741
Validate, publish and promote lightcraft / validate (push) Successful in 13s
Validate, publish and promote lightcraft / publish (push) Successful in 38s
Add maintained lightcraft Helm chart
2026-10-18 18:57:35 +02:00

29 lines
755 B
Nginx Configuration File

worker_processes auto;
pid /tmp/nginx.pid;
error_log /dev/stderr warn;
events { worker_connections 1024; }
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /dev/stdout;
client_body_temp_path /tmp/client_temp;
sendfile on;
gzip on;
gzip_types application/wasm application/javascript text/css application/json;
server {
listen 8080;
root /srv/web;
index index.html;
add_header X-Content-Type-Options nosniff always;
add_header Cache-Control no-cache always;
location / { try_files $uri $uri/ =404; }
location ~ /\. { deny all; }
}
server {
listen 127.0.0.1:8081;
access_log off;
location = /nginx_status { stub_status; }
location / { return 404; }
}
}