Spaces:
Runtime error
Runtime error
Update nginx.conf
Browse files- nginx.conf +1 -0
nginx.conf
CHANGED
|
@@ -19,6 +19,7 @@ server {
|
|
| 19 |
}
|
| 20 |
|
| 21 |
location /a/ {
|
|
|
|
| 22 |
# Serve GRADIO 7860
|
| 23 |
proxy_pass http://localhost:7860;
|
| 24 |
proxy_http_version 1.1;
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
location /a/ {
|
| 22 |
+
rewrite /a/(.*) /$1 break;
|
| 23 |
# Serve GRADIO 7860
|
| 24 |
proxy_pass http://localhost:7860;
|
| 25 |
proxy_http_version 1.1;
|