Committed apache conf

parent f8515810
<VirtualHost *:80>
ServerAdmin games@sucs.org
DocumentRoot /var/www/gameauth
ServerName games.sucs.org
ServerAlias www.games.sucs.org
CustomLog /var/log/apache2/gameauth_access.log combined
ErrorLog /var/log/apache2/gameauth_error.log
AddHandler application/x-httpd-php .php
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
Alias /dynmap /var/www/minecraft-dynmap
Alias /tekkit-dynmap /var/www/tekkit-dynmap/
</VirtualHost>
<VirtualHost *:443>
ServerAdmin games@sucs.org
DocumentRoot /var/www/gameauth
ServerName games.sucs.org
ServerAlias www.games.sucs.org
CustomLog /var/log/apache2/gameauth_access.log combined
ErrorLog /var/log/apache2/gameauth_error.log
AddHandler application/x-httpd-php .php
SSLEngine on
SSLCipherSuite AES128+EECDH:AES128+EDH
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
Header always set X-Frame-Options DENY
Header always set X-Content-Type-Options nosniff
SSLCompression off
SSLCertificateFile /etc/letsencrypt/live/games.sucs.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/games.sucs.org/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/games.sucs.org/chain.pem
Alias /dynmap /var/www/minecraft-dynmap
Alias /tekkit-dynmap /var/www/tekkit-dynmap/
</VirtualHost>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment