icp/dev/apache-deploy.conf

31 lines
795 B
Plaintext
Raw Permalink Normal View History

2018-05-05 20:56:32 +00:00
<VirtualHost *:80>
2018-05-06 14:17:41 +00:00
ServerAdmin admin@hps.vi4io.org
#ServerName oer.hps.vi4io.org
2018-05-05 20:56:32 +00:00
2018-05-06 14:17:41 +00:00
#/etc/apache2/apache2.conf => LogLevel info
2018-05-05 20:56:32 +00:00
2018-05-06 14:17:41 +00:00
WSGIScriptAlias / "/data/src/main/wsgi.py"
WSGIDaemonProcess hoou python-home=/data/run/virtualenv python-path=/data/src/ home=/data/src/ inactivity-timeout=10 request-timeout=10
2018-05-05 20:56:32 +00:00
WSGIProcessGroup hoou
WSGIApplicationGroup %{GLOBAL}
2018-05-06 14:17:41 +00:00
DocumentRoot /data/src/
Alias /static/ "/data/run/static/"
2018-05-05 20:56:32 +00:00
2018-05-06 14:17:41 +00:00
<Directory "/data/run/static/">
2018-05-05 20:56:32 +00:00
Require all granted
</Directory>
2018-05-06 14:17:41 +00:00
<Directory "/data/src/main/">
2018-05-05 20:56:32 +00:00
Require all granted
</Directory>
2018-05-06 14:17:41 +00:00
ErrorLog ${APACHE_LOG_DIR}/error.log
2018-05-05 20:56:32 +00:00
LogLevel warn
2018-05-06 14:17:41 +00:00
CustomLog ${APACHE_LOG_DIR}/access.log combined
2018-05-05 20:56:32 +00:00
SSLEngine on
2018-05-06 14:17:41 +00:00
SSLCertificateFile /data/ssl/fullchain1.pem
SSLCertificateKeyFile /data/ssl/privkey1.pem
2018-05-05 20:56:32 +00:00
</VirtualHost>