Apache config now with https support.

This commit is contained in:
Niels G. W. Serup 2013-01-02 15:31:43 +01:00
parent 2515c158e3
commit 0eea96068c
1 changed files with 39 additions and 0 deletions

View File

@ -33,3 +33,42 @@
</VirtualHost> </VirtualHost>
<VirtualHost *:443>
ServerName metanohi.name
ServerAlias metanohi.name www.metanohi.name nohi.lcl
ServerAdmin ns@metanohi.name
DocumentRoot /home/niels/www/meta/nohi
Alias /robots.txt /home/niels/www/meta/nohi/extra/robots.txt
Alias /favicon.ico /home/niels/www/meta/nohi/extra/favicon.ico
Alias /favicon.png /home/niels/www/meta/nohi/extra/favicon.png
Alias /atom.xml /home/niels/www/meta/nohi/extra/atom.xml
Alias /feedicon.png /home/niels/www/meta/nohi/extra/feedicon.png
Alias /feedlogo.png /home/niels/www/meta/nohi/extra/feedlogo.png
Alias /static /home/niels/www/meta/nohi/static
Alias /heavy /home/niels/www/meta/nohi/heavy
<Directory /home/niels/www/meta/nohi>
Order allow,deny
Allow from all
</Directory>
WSGIDaemonProcess metanohi.name processes=2 threads=5 display-name=%{GROUP}
WSGIProcessGroup metanohi.name
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
LogLevel warn
ErrorLog /var/log/apache2/metanohi.name-error.log
CustomLog /var/log/apache2/metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/nohi/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/nohi/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>