Update template for nginx config.
This commit is contained in:
parent
d4e449e3b9
commit
a1d361710a
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue