Updated to support HTTPS.

This commit is contained in:
2013-01-02 22:23:14 +01:00
parent 8f6b89a5cc
commit 2dd5aa6b1d
11 changed files with 309 additions and 17 deletions

View File

@@ -1,8 +1,12 @@
WSGIDaemonProcess lunchuman.metanohi.name processes=1 threads=1 display-name=%{GROUP}
WSGIProcessGroup lunchuman.metanohi.name
WSGIScriptAlias / /home/niels/www/meta/subsites/lunchuman/lunchuman.wsgi
<VirtualHost *:80>
ServerName datalosjen.metanohi.name
ServerAlias www.datalosjen.metanohi.name datalosjen.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/lunchuman
@@ -19,13 +23,41 @@
Allow from all
</Directory>
WSGIDaemonProcess lunchuman.metanohi.name processes=1 threads=1 display-name=%{GROUP}
WSGIProcessGroup lunchuman.metanohi.name
LogLevel warn
ErrorLog /var/log/apache2/lunchuman.metanohi.name-error.log
CustomLog /var/log/apache2/lunchuman.metanohi.name-access.log combined
WSGIScriptAlias / /home/niels/www/meta/subsites/lunchuman/lunchuman.wsgi
</VirtualHost>
<VirtualHost *:443>
ServerName datalosjen.metanohi.name
ServerAlias www.datalosjen.metanohi.name datalosjen.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/lunchuman
Alias /robots.txt /home/niels/www/meta/subsites/lunchuman/robots.txt
Alias /favicon.ico /home/niels/www/meta/subsites/lunchuman/favicon.ico
Alias /favicon.png /home/niels/www/meta/subsites/lunchuman/favicon.png
Alias /static /home/niels/www/meta/subsites/lunchuman/static
Alias /media /home/niels/www/meta/subsites/lunchuman/media
Alias /lunchuman.wsgi /home/niels/www/meta/subsites/lunchuman/lunchuman.wsgi
Alias /apache-config-template /home/niels/www/meta/subsites/lunchuman/apache-config-template
<Directory /home/niels/www/meta/subsites/lunchuman>
Order allow,deny
Allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/lunchuman.metanohi.name-error.log
CustomLog /var/log/apache2/lunchuman.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>