Add apache confs.

This commit is contained in:
2016-08-21 00:29:11 +02:00
parent ffcf9fefd5
commit 614373e745
5 changed files with 10 additions and 67 deletions

View File

@@ -1,39 +1,16 @@
<VirtualHost *:80>
ServerName nohix.metanohi.name
ServerAlias www.nohix.metanohi.name nohix.lcl
ServerAlias www.nohix.metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/nohix
<Directory /home/niels/www/meta/subsites/nohix/>
DocumentRoot /home/niels/prog/metanohi-misc-subsites/nohix
<Directory /home/niels/prog/metanohi-misc-subsites/nohix/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
LogLevel warn
ErrorLog /var/log/httpd/nohix.metanohi.name-error.log
CustomLog /var/log/httpd/nohix.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName nohix.metanohi.name
ServerAlias www.nohix.metanohi.name nohix.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/nohix
<Directory /home/niels/www/meta/subsites/nohix/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
LogLevel warn
ErrorLog /var/log/httpd/nohix.metanohi.name-error.log
CustomLog /var/log/httpd/nohix.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
ErrorLog ${APACHE_LOG_DIR}/error-nohix.metanohi.name.log
CustomLog ${APACHE_LOG_DIR}/access-nohix.metanohi.name.log combined
</VirtualHost>