updating postgres login
This commit is contained in:
parent
12204852aa
commit
a30b8b21e4
|
@ -118,7 +118,7 @@ First, set a password for the postgres user. For this guide, we will use ``lemu
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ sudo -u postgres psql postgres
|
$ sudo -u postgres -i
|
||||||
# \password postgres
|
# \password postgres
|
||||||
Enter new password: lemur
|
Enter new password: lemur
|
||||||
Enter it again: lemur
|
Enter it again: lemur
|
||||||
|
@ -137,7 +137,7 @@ Set a password for lemur user inside Postgres:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ sudo -u postgres psql postgres
|
$ sudo -u postgres -i
|
||||||
\password lemur
|
\password lemur
|
||||||
Enter new password: lemur
|
Enter new password: lemur
|
||||||
Enter it again: lemur
|
Enter it again: lemur
|
||||||
|
@ -178,7 +178,7 @@ You'll use the builtin ``HttpProxyModule`` within Nginx to handle proxying. Edi
|
||||||
::
|
::
|
||||||
|
|
||||||
location /api {
|
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_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
Loading…
Reference in New Issue