summaryrefslogtreecommitdiff
path: root/pinyconfigs
diff options
context:
space:
mode:
Diffstat (limited to 'pinyconfigs')
-rw-r--r--pinyconfigs/etc/apache2/sites-available/piny5
1 files changed, 3 insertions, 2 deletions
diff --git a/pinyconfigs/etc/apache2/sites-available/piny b/pinyconfigs/etc/apache2/sites-available/piny
index 3ac13f5..2dfdb02 100644
--- a/pinyconfigs/etc/apache2/sites-available/piny
+++ b/pinyconfigs/etc/apache2/sites-available/piny
@@ -35,7 +35,7 @@
SSLEngine On
SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
- SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem
+ SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem
Include /etc/apache2/piny/www
</VirtualHost>
@@ -48,6 +48,7 @@
<VirtualHost *:443>
ServerName secure.piny.be
DocumentRoot /srv/www/secure.piny.be
+ RedirectMatch 301 ^/$ http://piny.be/
<Directory />
Options Indexes FollowSymLinks MultiViews
@@ -77,7 +78,7 @@
SSLEngine On
SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
- SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem
+ SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem
Include /etc/apache2/piny/secure
</VirtualHost>