70 lines
2.4 KiB
Plaintext
70 lines
2.4 KiB
Plaintext
WSGIDaemonProcess metanohi.name processes=2 threads=5 display-name=%{GROUP}
|
|
WSGIProcessGroup metanohi.name
|
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerName metanohi.name
|
|
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
|
ServerAdmin ngws@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
|
|
|
|
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
|
|
|
<Directory /home/niels/www/meta/nohi>
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
|
|
|
LogLevel warn
|
|
ErrorLog /var/log/httpd/metanohi.name-error.log
|
|
CustomLog /var/log/httpd/metanohi.name-access.log combined
|
|
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:443>
|
|
|
|
ServerName metanohi.name
|
|
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
|
ServerAdmin ngws@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
|
|
|
|
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
|
|
|
<Directory /home/niels/www/meta/nohi>
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
|
|
|
LogLevel warn
|
|
ErrorLog /var/log/httpd/metanohi.name-error.log
|
|
CustomLog /var/log/httpd/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>
|