Clean up nginx config

Trying different URIs will lead to responding with index.html to JSON
translations and fail the app
This commit is contained in:
Johannes Meixner 2023-07-10 17:26:29 +02:00
parent 1bbf689821
commit 6037e4adb6

View file

@ -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