fix(proxy): relative redirects so Traefik doesn't leak :8080
This commit is contained in:
@@ -15,6 +15,10 @@ http {
|
|||||||
listen 8080;
|
listen 8080;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
|
# Use relative redirects (Location: /dashboard/) instead of absolute
|
||||||
|
# URLs that leak the internal listen port (8080) through Traefik.
|
||||||
|
absolute_redirect off;
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_types text/plain text/css application/json application/javascript application/wasm image/svg+xml;
|
gzip_types text/plain text/css application/json application/javascript application/wasm image/svg+xml;
|
||||||
gzip_min_length 256;
|
gzip_min_length 256;
|
||||||
|
|||||||
Reference in New Issue
Block a user