diff --git a/_deploy/nginx/default.conf b/_deploy/nginx/default.conf index 59b585cbc2..ddfe49d11d 100644 --- a/_deploy/nginx/default.conf +++ b/_deploy/nginx/default.conf @@ -1,5 +1,7 @@ server { - port_in_redirect off; + # Use relative redirects to account for situations where a front-end proxy is + # used and the container does not know the public domain and port + absolute_redirect off; listen 4000; error_page 403 404 /404.html; location / {