mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
Update conf files to use the new wsgi module
Apache and gunicorn now use the same entrypoint
This commit is contained in:
parent
19ba6267a7
commit
f5e9a6c056
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
ServerName ihatemoney.example.com
|
ServerName ihatemoney.example.com
|
||||||
# Uncomment the python-home option if you use a virtualenv
|
# Uncomment the python-home option if you use a virtualenv
|
||||||
WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path=/path/to/ihatemoney/budget # python-home=/path/to/your/venv
|
WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path=/path/to/ihatemoney/budget # python-home=/path/to/your/venv
|
||||||
WSGIScriptAlias / /path/to/ihatemoney/budget/ihatemoney.wsgi
|
WSGIScriptAlias / /path/to/ihatemoney/budget/wsgi.py
|
||||||
ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
|
ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
|
||||||
CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined
|
CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined
|
||||||
<Directory /path/to/ihatemoney>
|
<Directory /path/to/ihatemoney>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[program:budget]
|
[program:budget]
|
||||||
command=/path/to/your/app/venv/bin/gunicorn -c /path/to/your/app/conf/gunicorn.conf.py run:app
|
command=/path/to/your/app/venv/bin/gunicorn -c /path/to/your/app/conf/gunicorn.conf.py wsgi:application
|
||||||
directory=/path/to/your/app/budget/
|
directory=/path/to/your/app/budget/
|
||||||
user=www
|
user=www
|
||||||
autostart=true
|
autostart=true
|
||||||
|
|
Loading…
Reference in a new issue