2017-02-07 09:28:10 +00:00
|
|
|
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
|
2017-01-11 11:58:09 +00:00
|
|
|
|
|
|
|
<VirtualHost 192.55.98.190:80>
|
|
|
|
ServerAdmin webmaster@pycon-au.org
|
|
|
|
ServerName uat2017.pycon-au.org
|
|
|
|
ServerAlias uat2017.pycon-au.org
|
|
|
|
|
2017-02-09 02:17:14 +00:00
|
|
|
# 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/"
|
2017-02-08 11:07:30 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-01-11 11:58:09 +00:00
|
|
|
Alias /favicon.ico /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017/images/favicon.ico
|
2017-02-07 09:28:10 +00:00
|
|
|
Alias /robots.txt /srv/http/uat.2017.pycon-au.org/symposion/website/robots.txt
|
|
|
|
|
2017-01-11 11:58:09 +00:00
|
|
|
Alias /site_media/static/pyconau2017/ /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017/
|
|
|
|
|
2017-01-11 20:20:46 +00:00
|
|
|
Alias /site_media/static/admin/ /srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages/django/contrib/admin/static/admin/
|
2017-02-07 09:28:10 +00:00
|
|
|
|
2017-01-11 20:20:46 +00:00
|
|
|
Alias /site_media/static/wagtailadmin/ /srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages/wagtail/wagtailadmin/static/wagtailadmin/
|
|
|
|
|
2017-01-11 11:58:09 +00:00
|
|
|
<Directory /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017>
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
# Require all granted
|
|
|
|
</Directory>
|
|
|
|
|
2017-02-07 09:28:10 +00:00
|
|
|
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
|
2017-01-11 11:58:09 +00:00
|
|
|
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
|
|
|
|
|
2017-02-08 11:07:30 +00:00
|
|
|
ErrorLog /srv/http/uat.2017.pycon-au.org/log/ssl-error.log
|
2017-01-11 11:58:09 +00:00
|
|
|
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
|
|
# alert, emerg.
|
|
|
|
LogLevel debug
|
|
|
|
|
2017-02-08 11:07:30 +00:00
|
|
|
CustomLog /srv/http/uat.2017.pycon-au.org/log/ssl-access.log combined
|
2017-01-11 11:58:09 +00:00
|
|
|
ServerSignature On
|
2017-02-08 11:07:30 +00:00
|
|
|
|
|
|
|
SSLEngine on
|
|
|
|
SSLCertificateFile /srv/http/uat.2017.pycon-au.org/server.crt
|
|
|
|
SSLCertificateKeyFile /srv/http/uat.2017.pycon-au.org/server.key
|
2017-02-09 02:17:14 +00:00
|
|
|
SSLCertificateChainFile /srv/http/uat.2017.pycon-au.org/CAbundle.pem
|
2017-01-11 11:58:09 +00:00
|
|
|
</VirtualHost>
|
|
|
|
|