Removing redudant declaration of upstream in Nginx example (#252)
With the IP address of the gunicorn server set in proxy_pass, the configuration example doesn't need to declare an upstream server.
This commit is contained in:
committed by
Corey Hammerton
parent
00b2699d02
commit
fac55edc98
@@ -501,10 +501,6 @@ differ too much. As we can't use ``uwsgi_pass`` with gunicorn, the nginx configu
|
|||||||
|
|
||||||
.. code-block:: nginx
|
.. code-block:: nginx
|
||||||
|
|
||||||
upstream puppetboard {
|
|
||||||
server 127.0.0.1:9090;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name puppetboard.example.tld;
|
server_name puppetboard.example.tld;
|
||||||
|
|||||||
Reference in New Issue
Block a user