mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update ingress.gtpl
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user