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:
parent
1bbf689821
commit
6037e4adb6
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue