Browse Source

no slash additional / in redirects

master
parent
commit
527bd42b27
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/default-vhost.j2

+ 1
- 1
templates/default-vhost.j2 View File

@@ -27,7 +27,7 @@
# redirect to https if file could not be found in /var/www/default/ # redirect to https if file could not be found in /var/www/default/
RewriteEngine On RewriteEngine On
RewriteRule ^\/\.well-known\/acme-challenge\/ - [L] RewriteRule ^\/\.well-known\/acme-challenge\/ - [L]
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]


</VirtualHost> </VirtualHost>




Loading…
Cancel
Save