symposion_app/2017.pycon-au.org.conf
2017-02-09 13:17:14 +11:00

73 lines
2.9 KiB
Text

WSGIPythonPath /srv/http/uat.2017.pycon-au.org/symposion/website:/srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages:/srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7
<VirtualHost 192.55.98.190:80>
ServerAdmin webmaster@pycon-au.org
ServerName uat2017.pycon-au.org
ServerAlias uat2017.pycon-au.org
# We need this bit of confignation when we generate site certs at sslforfree.com.
# So please don't get rid of it, and don't uncomment it unless you know wtf you're doing.
#Alias /.well-known/acme-challenge/ /srv/http/uat.2017.pycon-au.org/.well-known/acme-challenge/
#<Directory /srv/http/uat.2017.pycon-au.org/.well-known/acme-challenge>
# Order allow,deny
# Allow from all
#</Directory>
Redirect permanent "/" "https:/uat2017.pycon-au.org/"
ErrorLog /srv/http/uat.2017.pycon-au.org/log/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog /srv/http/uat.2017.pycon-au.org/log/access.log combined
ServerSignature On
</VirtualHost>
<VirtualHost 192.55.98.190:443>
ServerAdmin webmaster@pycon-au.org
ServerName uat2017.pycon-au.org
ServerAlias uat2017.pycon-au.org
Alias /favicon.ico /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017/images/favicon.ico
Alias /robots.txt /srv/http/uat.2017.pycon-au.org/symposion/website/robots.txt
Alias /site_media/static/pyconau2017/ /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017/
Alias /site_media/static/admin/ /srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages/django/contrib/admin/static/admin/
Alias /site_media/static/wagtailadmin/ /srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages/wagtail/wagtailadmin/static/wagtailadmin/
<Directory /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017>
Order allow,deny
Allow from all
# Require all granted
</Directory>
WSGIDaemonProcess uat2017.pycon-au.org python-path="/srv/http/uat.2017.pycon-au.org/symposion/website:/srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages:/srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7" home=/srv/http/uat.2017.pycon-au.org/symposion/website user=nicks group=www-data
WSGIProcessGroup uat2017.pycon-au.org
<Directory /srv/http/uat.2017.pycon-au.org/symposion/website>
Order allow,deny
Allow from all
# Require all granted
</Directory>
WSGIScriptAlias / /srv/http/uat.2017.pycon-au.org/symposion/website/pinaxcon/wsgi.py
ErrorLog /srv/http/uat.2017.pycon-au.org/log/ssl-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog /srv/http/uat.2017.pycon-au.org/log/ssl-access.log combined
ServerSignature On
SSLEngine on
SSLCertificateFile /srv/http/uat.2017.pycon-au.org/server.crt
SSLCertificateKeyFile /srv/http/uat.2017.pycon-au.org/server.key
SSLCertificateChainFile /srv/http/uat.2017.pycon-au.org/CAbundle.pem
</VirtualHost>