mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update ingress.conf
This commit is contained in:
@@ -4,8 +4,15 @@ server {
|
|||||||
include /etc/nginx/includes/proxy_params.conf;
|
include /etc/nginx/includes/proxy_params.conf;
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|
||||||
|
# Code origin : https://github.com/transmission/transmission/issues/899
|
||||||
|
|
||||||
|
location = / {
|
||||||
|
return 301 ./web/; # The slash at the end is important.
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme; # Avoids mixed content
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:9091/transmission/web/;
|
proxy_pass http://127.0.0.1:9091/transmission/;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|||||||
Reference in New Issue
Block a user