1 contributor
server {
listen 192.168.2.100:80;
server_name hosts.madagascar.xdev.ro;
access_log /var/log/nginx/hosts.madagascar.xdev.ro.access.log main;
error_log /var/log/nginx/hosts.madagascar.xdev.ro.error.log warn;
client_max_body_size 256k;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options DENY always;
add_header Referrer-Policy no-referrer always;
location = /healthz {
return 404;
}
location / {
proxy_pass http://127.0.0.1:8088;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 30s;
}
}