浏览代码

no slash additional / in redirects

master
父节点
当前提交
527bd42b27
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      templates/default-vhost.j2

+ 1
- 1
templates/default-vhost.j2 查看文件

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

</VirtualHost>



正在加载...
取消
保存