Skip to content

Commit

Permalink
Update running-gradio-on-your-web-server-with-nginx.md (#6804)
Browse files Browse the repository at this point in the history
Add proxy_buffering parameter.
  • Loading branch information
lfuelling committed Dec 19, 2023
1 parent 77c9003 commit 16c0e40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ server {

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_buffering off;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
Expand Down

0 comments on commit 16c0e40

Please sign in to comment.