Update ingress.gtpl

This commit is contained in:
Alexandre
2021-05-06 14:45:00 +02:00
committed by GitHub
parent 8dea030e69
commit abdcb95a4a

View File

@@ -2,9 +2,15 @@ server {
listen {{ .interface }}:{{ .port }} default_server;
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
client_max_body_size 0;
location / {
proxy_pass {{ .protocol }}://backend/;
resolver 127.0.0.11 valid=30s;
}
location /api/websocket/ {
proxy_pass {{ .protocol }}://backend/api/websocket/;
resolver 127.0.0.11 valid=30s;
}
}