diff --git a/docs/production/index.rst b/docs/production/index.rst index e154a083..2dff5b84 100644 --- a/docs/production/index.rst +++ b/docs/production/index.rst @@ -110,7 +110,7 @@ You can make some adjustments to get a better user experience:: error_log /var/log/nginx/log/lemur.error.log; location /api { - proxy_pass http://127.0.0.1:5000; + proxy_pass http://127.0.0.1:8000; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_redirect off; proxy_buffering off; @@ -176,7 +176,7 @@ sensitive nature of Lemur and what it controls makes this essential. This is a s resolver ; location /api { - proxy_pass http://127.0.0.1:5000; + proxy_pass http://127.0.0.1:8000; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_redirect off; proxy_buffering off; diff --git a/docs/quickstart/index.rst b/docs/quickstart/index.rst index 4e0f2d7c..8129eb57 100644 --- a/docs/quickstart/index.rst +++ b/docs/quickstart/index.rst @@ -118,7 +118,7 @@ First, set a password for the postgres user. For this guide, we will use ``lemu .. code-block:: bash - $ sudo -u postgres psql postgres + $ sudo -u postgres -i # \password postgres Enter new password: lemur Enter it again: lemur @@ -137,7 +137,7 @@ Set a password for lemur user inside Postgres: .. code-block:: bash - $ sudo -u postgres psql postgres + $ sudo -u postgres -i \password lemur Enter new password: lemur Enter it again: lemur @@ -178,7 +178,7 @@ You'll use the builtin ``HttpProxyModule`` within Nginx to handle proxying. Edi :: location /api { - proxy_pass http://127.0.0.1:5000; + proxy_pass http://127.0.0.1:8000; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_redirect off; proxy_buffering off;