From 12204852aa3af85935a0adb30f1203b309e04413 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Mon, 29 Feb 2016 08:48:27 -0800 Subject: [PATCH 1/2] changeing the default port to 8000 --- docs/production/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; From a30b8b21e4a1bddbe90e9f3ea673901d0bf0a4de Mon Sep 17 00:00:00 2001 From: kevgliss Date: Mon, 29 Feb 2016 08:53:35 -0800 Subject: [PATCH 2/2] updating postgres login --- docs/quickstart/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;