NameVirtualHost *:543
<VirtualHost *:543>
SSLEngine On
# SSLCertificateFile /etc/ssl/server.crt
SSLCertificateKeyFile /etc/ssl/server.key
SSLCertificateFile /etc/ssl/private/???_???_???_???.crt
SSLCertificateChainFile /etc/ssl/private/???_???_???_???.ca-bundle
Alias /static /var/www/project/static
<Directory /var/www/project/static>
Require all granted
</Directory>
<Directory /var/www/project/ProjectOnline>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
ServerAdmin webmaster@localhost
<------>ErrorLog ${APACHE_LOG_DIR}/error.log
<------>CustomLog ${APACHE_LOG_DIR}/access.log combined
WSGIDaemonProcess ProjectOnline python-path=/var/www/project:/var/www/project/ProjectOnline
WSGIProcessGroup ProjectOnline
WSGIScriptAlias / /var/www/project/ProjectOnline/wsgi.py
</VirtualHost>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/css
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
</IfModule>