Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
646 B · 36 lines
12345678910111213141516171819202122232425262728293031323334353637# SPDX-License-Identifier: AGPL-3.0-or-later
server { listen 8080; server_name _; root /usr/share/nginx/html; index index.html;
include /etc/nginx/conf.d/security-headers.conf;
location = /_health { access_log off; return 204; }
location = /_healthz { access_log off; return 204; }
location = /404.html { internal; }
location ~* \.(?:css|js|mjs|svg|png|jpg|jpeg|gif|webp|avif|ico|woff2?)$ { try_files $uri =404; include /etc/nginx/conf.d/security-headers.conf; add_header Cache-Control "public, max-age=31536000, immutable" always; }
location / { try_files $uri $uri/ =404; }
error_page 404 /404.html;}