[SUCS Devel] [Git][sucssite/gameauth][jessie] Committed apache conf

Laurence Sebastian Bowes elbows at sucs.org
Wed Apr 27 00:03:03 BST 2016


Laurence Sebastian Bowes pushed to branch jessie at sucssite / gameauth


Commits:
e867e810 by Laurence Bowes at 2016-04-26T23:03:26+00:00
Committed apache conf

- - - - -


1 changed file:

- + gameauth-apache.conf


Changes:

=====================================
gameauth-apache.conf
=====================================
--- /dev/null
+++ b/gameauth-apache.conf
@@ -0,0 +1,44 @@
+<VirtualHost *:80>
+	ServerAdmin games at 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 at 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>



View it on GitLab: https://projects.sucs.org/sucssite/gameauth/commit/e867e81032a0df418c89d42ac34bfee6419331ec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20160427/771ac276/attachment-0001.html>


More information about the Devel mailing list