Spaces:
Sleeping
Sleeping
Update nginx.conf
Browse files- nginx.conf +1 -1
nginx.conf
CHANGED
|
@@ -3,7 +3,7 @@ server {
|
|
| 3 |
server_name localhost;
|
| 4 |
|
| 5 |
# Backend API routes
|
| 6 |
-
location /
|
| 7 |
proxy_pass http://localhost:${UVICORN_PORT}/;
|
| 8 |
proxy_set_header Host $host;
|
| 9 |
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
| 3 |
server_name localhost;
|
| 4 |
|
| 5 |
# Backend API routes
|
| 6 |
+
location /pi/ {
|
| 7 |
proxy_pass http://localhost:${UVICORN_PORT}/;
|
| 8 |
proxy_set_header Host $host;
|
| 9 |
proxy_set_header X-Real-IP $remote_addr;
|