From cf9fb7face53820490f5c80730e9890689a8c6fe Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 6 Jul 2023 19:00:10 +0200 Subject: [PATCH] :bug: Fix 404 errors --- docker/devenv/files/nginx.conf | 2 +- docker/gitpod/files/nginx.conf | 2 +- docker/images/files/nginx.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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/;