diff --git a/rootfs/etc/nginx/conf.d/ghostfolio.conf b/rootfs/etc/nginx/conf.d/ghostfolio.conf index 236b3ac..e06bdc4 100644 --- a/rootfs/etc/nginx/conf.d/ghostfolio.conf +++ b/rootfs/etc/nginx/conf.d/ghostfolio.conf @@ -22,15 +22,18 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Referer $http_referer; proxy_set_header Origin ""; - proxy_set_header X-Real-IP $remote_addr; proxy_pass http://127.0.0.1:3333; - proxy_redirect '/' $http_x_ingress_path/; proxy_set_header Accept-Encoding ""; + proxy_set_header X-Ingress-Path $http_x_ingress_path; + sub_filter_types *; sub_filter_once off; sub_filter 'href="/' 'href="$http_x_ingress_path/'; sub_filter '