Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreuixiy <reuixiy@gmail.com>2019-12-09 05:52:10 +0300
committerreuixiy <reuixiy@gmail.com>2019-12-09 05:52:10 +0300
commit355e0c8b6d702e96a0d5f553488023c737383223 (patch)
treea0fe7460d119be1f22abe988e6587e845d067da1 /config-examples/zh-cn/config.toml
parent1a8df7962c6e839cfbc80468bbb7afb939b38429 (diff)
feat: Force HTTPS Redirection
Diffstat (limited to 'config-examples/zh-cn/config.toml')
-rw-r--r--config-examples/zh-cn/config.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/config-examples/zh-cn/config.toml b/config-examples/zh-cn/config.toml
index 9ced2e7..9c2825c 100644
--- a/config-examples/zh-cn/config.toml
+++ b/config-examples/zh-cn/config.toml
@@ -1082,6 +1082,18 @@ uglyURLs = false
######################################
+ # HTTPS 强制跳转
+
+ # 说明:仅在生产环境(production)下渲染
+
+ # 是否开启
+ enableForceHTTPS = false
+ # 说明:使用 JavaScript 来实现跳转。如果你
+ # 的服务器不支持强制 HTTPS 跳转,则可
+ # 开启此选项。
+
+
+ ######################################
# 404 页面
# 视频封面