Update nginx.conf
Browse files- nginx.conf +1 -1
nginx.conf
CHANGED
|
@@ -19,8 +19,8 @@ server {
|
|
| 19 |
}
|
| 20 |
|
| 21 |
# JSON API
|
|
|
|
| 22 |
location /chart {
|
| 23 |
-
rewrite ^/chart/?(.*)$ /$1 break;
|
| 24 |
proxy_pass http://localhost:3000;
|
| 25 |
proxy_http_version 1.1;
|
| 26 |
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
# JSON API
|
| 22 |
+
#rewrite ^/chart/?(.*)$ /$1 break;
|
| 23 |
location /chart {
|
|
|
|
| 24 |
proxy_pass http://localhost:3000;
|
| 25 |
proxy_http_version 1.1;
|
| 26 |
proxy_set_header Upgrade $http_upgrade;
|