adiciona nginx.conf

This commit is contained in:
2026-08-12 17:55:21 +00:00
parent c76dc2e021
commit f0d4b3cd7d
+25
View File
@@ -0,0 +1,25 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# compressão (a página tem imagens embutidas em base64)
gzip on;
gzip_types text/html text/css application/javascript image/svg+xml;
gzip_min_length 1024;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
location / {
try_files $uri $uri/ /index.html;
}
location = /health {
access_log off;
return 200 "ok\n";
add_header Content-Type text/plain;
}
}