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".
This commit is contained in:
Toby McLaughlin
2015-01-15 14:32:45 +11:00
parent 86328a2b4d
commit eb7e8e38a1

View File

@@ -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_set_header X-Scheme $scheme;
proxy_connect_timeout 10; proxy_connect_timeout 10;
proxy_read_timeout 10; proxy_read_timeout 10;
proxy_pass 127.0.0.1:9090; proxy_pass http://127.0.0.1:9090;
} }
} }