mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 08:31:01 +01:00
Update ingress.conf
This commit is contained in:
@@ -6,18 +6,19 @@ server {
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
location ^~ / {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
proxy_read_timeout 30;
|
||||
proxy_pass http://backend;
|
||||
proxy_set_header Range $http_range;
|
||||
proxy_set_header If-Range $http_if_range;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8096/;
|
||||
proxy_pass_request_headers on;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
# Disable buffering when the nginx proxy gets very resource heavy upon streaming
|
||||
proxy_buffering off;
|
||||
|
||||
}
|
||||
|
||||
location /embywebsocket {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
proxy_read_timeout 30;
|
||||
proxy_pass http://backend;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user