From 16c0e4015ceeca33cf685d5b2cc4e1506579403b Mon Sep 17 00:00:00 2001 From: Lerk Date: Tue, 19 Dec 2023 17:44:25 +0100 Subject: [PATCH] Update running-gradio-on-your-web-server-with-nginx.md (#6804) Add proxy_buffering parameter. --- .../running-gradio-on-your-web-server-with-nginx.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guides/09_other-tutorials/running-gradio-on-your-web-server-with-nginx.md b/guides/09_other-tutorials/running-gradio-on-your-web-server-with-nginx.md index b4ee564451..72c8a4c7ca 100644 --- a/guides/09_other-tutorials/running-gradio-on-your-web-server-with-nginx.md +++ b/guides/09_other-tutorials/running-gradio-on-your-web-server-with-nginx.md @@ -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;