diff --git a/mac.conf b/mac.conf index 3b41b48..c05d68c 100644 --- a/mac.conf +++ b/mac.conf @@ -5,12 +5,12 @@ server { listen 80; listen [::]:80; server_name mac.biboer.cn; - return 301 https://$host$request_uri; + return 301 https://$host:8443$request_uri; } server { - listen 443 ssl; - listen [::]:443 ssl; + listen 8443 ssl; + listen [::]:8443 ssl; http2 on; server_name mac.biboer.cn; diff --git a/miniprogram/README.md b/miniprogram/README.md index 3b7994c..e388510 100644 --- a/miniprogram/README.md +++ b/miniprogram/README.md @@ -62,7 +62,7 @@ miniprogram/ "cooldownMinutes": 10, "servers": { "A": { "baseUrl": "https://fonts.biboer.cn" }, - "B": { "baseUrl": "https://mac.biboer.cn" } + "B": { "baseUrl": "https://mac.biboer.cn:8443" } } } ``` diff --git a/miniprogram/assets/route-config.json b/miniprogram/assets/route-config.json index 77cbbf6..54c28b5 100644 --- a/miniprogram/assets/route-config.json +++ b/miniprogram/assets/route-config.json @@ -6,7 +6,7 @@ "baseUrl": "https://fonts.biboer.cn" }, "B": { - "baseUrl": "https://mac.biboer.cn" + "baseUrl": "https://mac.biboer.cn:8443" } } }