symposion_app/2017.pycon-au.org.conf
Nick Seidenman (N6) e4679c7cb8 Merge branch 'develop'
Conflicts:
	2017.pycon-au.org.conf
2017-02-21 10:57:30 +11:00

85 lines
3.3 KiB
Text

WSGIPythonPath /srv/http/2017.pycon-au.org/symposion/website:/srv/http/2017.pycon-au.org/symposion/lib/python2.7/site-packages:/srv/http/2017.pycon-au.org/symposion/lib/python2.7
<VirtualHost 192.55.98.190:80>
ServerAdmin webmaster@pycon-au.org
ServerName 2017.pycon-au.org
ServerAlias 2017.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/2017.pycon-au.org/.well-known/acme-challenge/
#<Directory /srv/http/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/2017.pycon-au.org/log/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog /srv/http/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/2017.pycon-au.org/symposion/website/static/dist/pyconau2017/images/favicon.ico
Alias /robots.txt /srv/http/2017.pycon-au.org/symposion/website/robots.txt
Alias /site_media/static/pyconau2017/ /srv/http/2017.pycon-au.org/symposion/website/static/dist/pyconau2017/
Alias /fonts/ /srv/http/2017.pycon-au.org/symposion/website/static/dist/pyconau2017/css/fonts/
Alias /site_media/static/admin/ /srv/http/2017.pycon-au.org/symposion/lib/python2.7/site-packages/django/contrib/admin/static/admin/
Alias /site_media/static/wagtailadmin/ /srv/http/2017.pycon-au.org/symposion/lib/python2.7/site-packages/wagtail/wagtailadmin/static/wagtailadmin/
Alias /site_media/static/wagtailadmin/ /srv/http/2017.pycon-au.org/symposion/lib/python2.7/site-packages/wagtail/wagtailadmin/static/wagtailadmin/
<Directory /srv/http/2017.pycon-au.org/symposion/website/static/dist/pyconau2017>
Order allow,deny
Allow from all
# Require all granted
</Directory>
WSGIDaemonProcess 2017.pycon-au.org python-path="/srv/http/2017.pycon-au.org/symposion/website:/srv/http/2017.pycon-au.org/symposion/lib/python2.7/site-packages:/srv/http/2017.pycon-au.org/symposion/lib/python2.7" home=/srv/http/2017.pycon-au.org/symposion/website user=nicks group=www-data
WSGIProcessGroup 2017.pycon-au.org
Alias /site_media/media/ /srv/http/2017.pycon-au.org/symposion/website/pinaxcon/site_media/media/
<Directory /srv/http/2017.pycon-au.org/symposion/website/pinaxcon/site_media/media/>
Order allow,deny
Allow from all
# Require all granted
</Directory>
<Directory /srv/http/2017.pycon-au.org/symposion/website>
Order allow,deny
Allow from all
# Require all granted
</Directory>
WSGIScriptAlias / /srv/http/2017.pycon-au.org/symposion/website/pinaxcon/wsgi.py
ErrorLog /srv/http/2017.pycon-au.org/log/ssl-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog /srv/http/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>