Update template for nginx config.

This commit is contained in:
febux 2026-08-21 23:33:33 +03:00
parent d4e449e3b9
commit a1d361710a

View file

@ -18,6 +18,9 @@ client_max_body_size 50M;
server { server {
listen 80; listen 80;
# IPv6 too — otherwise IPv6 clients fall through to nginx's stock
# default.conf server (static /usr/share/nginx/html → 404s).
listen [::]:80;
server_name ${NGINX_SERVER_NAME}; server_name ${NGINX_SERVER_NAME};
location ~ ^/(healthz|readyz|metrics|api/|admin/|docs|openapi.json) { location ~ ^/(healthz|readyz|metrics|api/|admin/|docs|openapi.json) {