Proper server certs created and installed.

This commit is contained in:
Nick Seidenman (N6) 2017-02-09 13:17:14 +11:00
parent 2be71200b4
commit c0d1ede66d

View file

@ -5,7 +5,15 @@ WSGIPythonPath /srv/http/uat.2017.pycon-au.org/symposion/website:/srv/http/uat.2
ServerName uat2017.pycon-au.org
ServerAlias uat2017.pycon-au.org
Redirect "/" "https:/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
@ -60,5 +68,6 @@ WSGIPythonPath /srv/http/uat.2017.pycon-au.org/symposion/website:/srv/http/uat.2
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>