We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f352c1c commit 7b87855Copy full SHA for 7b87855
frontend/nginx/nginx.conf
@@ -1,17 +1,17 @@
1
server {
2
3
-listen 8080;
+ listen 8080;
4
5
-location / {
6
- root /usr/share/nginx/html;
7
- index index.html index.htm;
8
- try_files $uri $uri/ /index.html;
9
- }
+ location / {
+ root /usr/share/nginx/html;
+ index index.html index.htm;
+ try_files $uri $uri/ /index.html = 404;
+ }
10
11
12
-error_page 500 502 503 504 /50x.html;
+ error_page 500 502 503 504 /50x.html;
13
14
-location = /50x.html {
15
16
+ location = /50x.html {
17
}
0 commit comments