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