mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
Make the nginx deployment doc more accurate
This commit is contained in:
parent
79e6ae583a
commit
d1867f1f74
1 changed files with 10 additions and 3 deletions
|
@ -70,12 +70,19 @@ With Apache and mod_wsgi
|
||||||
With Nginx, Gunicorn and Supervisord
|
With Nginx, Gunicorn and Supervisord
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
1. Add the lines in conf/supervisord.conf to your supervisord.conf file.
|
.. note:: For the 3 configuration files mentioned below, you will need to fix
|
||||||
2. Copy and paste the content of conf/nginx.conf in your nginx conf file.
|
the paths to reflect yours.
|
||||||
3. reload both nginx and supervisord. It should be working ;)
|
|
||||||
|
1. Copy *conf/gunicorn.conf.py* to */etc/ihatemoney/gunicorn.conf.py*
|
||||||
|
2. Copy *conf/supervisord.conf* to */etc/supervisor/conf.d/ihatemoney.conf*
|
||||||
|
3. Copy *conf/nginx.conf* with your nginx vhosts [#nginx-vhosts]_
|
||||||
|
4. Reload both nginx and supervisord. It should be working ;)
|
||||||
|
|
||||||
Don't forget to set the right permission for your files !
|
Don't forget to set the right permission for your files !
|
||||||
|
|
||||||
|
.. [#nginx-vhosts] typically, */etc/nginx/conf.d/* or
|
||||||
|
*/etc/nginx/sites-available*, depending on your distribution.
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue