Spaces:
Sleeping
Sleeping
Upload nginx.conf
Browse files- client/nginx.conf +1 -1
client/nginx.conf
CHANGED
|
@@ -12,7 +12,7 @@ server {
|
|
| 12 |
|
| 13 |
# Proxy API requests to the backend (same container)
|
| 14 |
location /api/ {
|
| 15 |
-
proxy_pass http://127.0.0.1:
|
| 16 |
proxy_http_version 1.1;
|
| 17 |
proxy_set_header Upgrade $http_upgrade;
|
| 18 |
proxy_set_header Connection 'upgrade';
|
|
|
|
| 12 |
|
| 13 |
# Proxy API requests to the backend (same container)
|
| 14 |
location /api/ {
|
| 15 |
+
proxy_pass http://127.0.0.1:8501/;
|
| 16 |
proxy_http_version 1.1;
|
| 17 |
proxy_set_header Upgrade $http_upgrade;
|
| 18 |
proxy_set_header Connection 'upgrade';
|