mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-02 11:12:23 +02:00

The current configuration generated uses the old syntax for Apache access control. Use the new syntax for Apache 2.4 that is widely used now.
18 lines
641 B
Django/Jinja
18 lines
641 B
Django/Jinja
<VirtualHost *:80>
|
|
ServerAdmin admin@example.com # CUSTOMIZE
|
|
ServerName ihatemoney.example.com # CUSTOMIZE
|
|
WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-home={{ sys_prefix }}
|
|
WSGIScriptAlias / {{ pkg_path }}/wsgi.py
|
|
WSGIPassAuthorization On
|
|
|
|
ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
|
|
CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined
|
|
|
|
<Directory {{ pkg_path }}>
|
|
WSGIProcessGroup ihatemoney
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
Require all granted
|
|
</Directory>
|
|
|
|
Alias /static/ {{ pkg_path }}/static/
|
|
</VirtualHost>
|