From eb7e8e38a1332a0dbc1ad2d2495fd503956dc2f1 Mon Sep 17 00:00:00 2001 From: Toby McLaughlin Date: Thu, 15 Jan 2015 14:32:45 +1100 Subject: [PATCH] Fix proxy_pass line in nginx+gunicorn example. The example was missing the protocol part of the backend server URL ('http://'). This causes nginx to complain of a "malformed URL". --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2f42290..9089712 100644 --- a/README.rst +++ b/README.rst @@ -490,7 +490,7 @@ differ too much. As we can't use ``uwsgi_pass`` with gunicorn, the nginx configu proxy_set_header X-Scheme $scheme; proxy_connect_timeout 10; proxy_read_timeout 10; - proxy_pass 127.0.0.1:9090; + proxy_pass http://127.0.0.1:9090; } }