From 6037e4adb628399f37953a82bac42eb0b729e49e Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Mon, 10 Jul 2023 17:26:29 +0200 Subject: [PATCH] Clean up nginx config Trying different URIs will lead to responding with index.html to JSON translations and fail the app --- config/nginx.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index 0d70eb1..2d71aeb 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -12,8 +12,6 @@ server { # also turn off last-modified since they are just the timestamps of the file in the docker image # and may or may not bear any resemblance to when the resource changed add_header Last-Modified ""; - - try_files $uri /$uri /index.html; } # assets can be cached because they have hashed filenames @@ -37,8 +35,6 @@ server { # also turn off last-modified since they are just the timestamps of the file in the docker image # and may or may not bear any resemblance to when the resource changed add_header Last-Modified ""; - - try_files $uri /$uri /index.html; } # assets can be cached because they have hashed filenames