diff options
Diffstat (limited to 'moin/apache2')
-rw-r--r-- | moin/apache2/sites-available/wiki.secure-example.com.conf | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/moin/apache2/sites-available/wiki.secure-example.com.conf b/moin/apache2/sites-available/wiki.secure-example.com.conf index 5ccca1b..d369624 100644 --- a/moin/apache2/sites-available/wiki.secure-example.com.conf +++ b/moin/apache2/sites-available/wiki.secure-example.com.conf @@ -19,13 +19,12 @@ ServerName *.wiki:443 Include conf.d/local-ssl.conf - Include conf.d/local-log-origin.conf RewriteEngine On RewriteRule / https://wiki.example.com/ [R] # RewriteRule /(.*)? https://wiki.example.com/$1 [R] - CustomLog ${APACHE_LOG_DIR}/redirect.log origin + CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined </VirtualHost> <VirtualHost *:80> ServerName wiki.example.com @@ -33,11 +32,9 @@ ServerAlias wiki ServerAlias *.wiki - Include conf.d/local-log-origin.conf - RewriteEngine On RewriteRule / https://wiki.example.com/ [R] # RewriteRule /(.*)? https://wiki.example.com/$1 [R] - CustomLog ${APACHE_LOG_DIR}/redirect.log origin + CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined </VirtualHost> |