Skip to content

Commit 496dff4

Browse files
committed
simplify nginx config
1 parent ad216c6 commit 496dff4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

nginx.conf

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ http {
3939
location / {
4040
root /app/static/;
4141
index index.html index.htm;
42-
try_files $uri $uri/ /index.html @backend;
42+
try_files $uri $uri/ /index.html;
4343
}
4444

4545
location /api {
@@ -48,9 +48,6 @@ http {
4848
location /admin {
4949
proxy_pass http://127.0.0.1:8080;
5050
}
51-
location @backend {
52-
proxy_pass http://127.0.0.1:8080;
53-
}
5451

5552
#error_page 404 /404.html;
5653

0 commit comments

Comments
 (0)