mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-18 10:44:33 +08:00
Update running-gradio-on-your-web-server-with-nginx.md (#6804)
Add proxy_buffering parameter.
This commit is contained in:
parent
77c900311e
commit
16c0e4015c
@ -36,6 +36,7 @@ server {
|
|||||||
|
|
||||||
location /gradio-demo/ { # Change this if you'd like to server your Gradio app on a different path
|
location /gradio-demo/ { # Change this if you'd like to server your Gradio app on a different path
|
||||||
proxy_pass http://127.0.0.1:7860/; # Change this if your Gradio app will be running on a different port
|
proxy_pass http://127.0.0.1:7860/; # Change this if your Gradio app will be running on a different port
|
||||||
|
proxy_buffering off;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
Loading…
Reference in New Issue
Block a user