Update ingress.conf

This commit is contained in:
Alexandre
2023-02-01 15:20:33 +01:00
committed by GitHub
parent 565ac2e5f5
commit 6d6998364a

View File

@@ -5,13 +5,13 @@ server {
include /etc/nginx/includes/proxy_params.conf;
client_max_body_size 0;
root /app/sabnzbd/webui;
index index.html index.htm index.php;
location / {
# Pass data
proxy_pass http://backend/;
proxy_pass http://127.0.0.1:8080/sabnzbd/;
proxy_cache_bypass $http_upgrade;
root /app;
# Proxy headers
add_header Access-Control-Allow-Origin *;
@@ -28,7 +28,12 @@ location / {
proxy_connect_timeout 60s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
# Sub_filter
proxy_set_header Accept-Encoding "";
sub_filter_once off;
sub_filter_types *;
sub_filter /sabnzbd %%ingress_entry%%/;
}
}