rename for general
Browse files- nginx.conf +2 -2
nginx.conf
CHANGED
@@ -14,9 +14,9 @@ server {
|
|
14 |
proxy_cache_bypass $http_upgrade;
|
15 |
}
|
16 |
|
17 |
-
location /
|
18 |
# Serve backend from port
|
19 |
-
rewrite /
|
20 |
proxy_pass http://localhost:8000;
|
21 |
proxy_http_version 1.1;
|
22 |
proxy_set_header Upgrade $http_upgrade;
|
|
|
14 |
proxy_cache_bypass $http_upgrade;
|
15 |
}
|
16 |
|
17 |
+
location /static/ {
|
18 |
# Serve backend from port
|
19 |
+
rewrite /static/(.*) /$1 break;
|
20 |
proxy_pass http://localhost:8000;
|
21 |
proxy_http_version 1.1;
|
22 |
proxy_set_header Upgrade $http_upgrade;
|