diff --git a/docker/devenv/files/nginx.conf b/docker/devenv/files/nginx.conf index d76176d45..9725167f8 100644 --- a/docker/devenv/files/nginx.conf +++ b/docker/devenv/files/nginx.conf @@ -196,7 +196,7 @@ http { } location ~ ^/[^/]+/(.*)$ { - return 301 /404.html; + return 301 " /404"; } add_header Last-Modified $date_gmt; diff --git a/docker/gitpod/files/nginx.conf b/docker/gitpod/files/nginx.conf index bff502389..ca403adfd 100644 --- a/docker/gitpod/files/nginx.conf +++ b/docker/gitpod/files/nginx.conf @@ -136,7 +136,7 @@ http { } location ~ ^/[^/]+/(.*)$ { - return 301 /404.html; + return 301 " /404"; } try_files $uri /index.html$is_args$args =404; diff --git a/docker/images/files/nginx.conf b/docker/images/files/nginx.conf index 5ccd0d43d..30691f8b0 100644 --- a/docker/images/files/nginx.conf +++ b/docker/images/files/nginx.conf @@ -173,7 +173,7 @@ http { } location ~ ^/[^/]+/(.*)$ { - return 301 /404.html; + return 301 " /404"; } root /var/www/app/;