瀏覽代碼

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>



Loading…
取消
儲存