@@ -111,9 +111,9 @@ local function nodeSwitched()
end
-- 节点切换功能,目前还在测试中(demo 中已开启)
-if nodeSwitched() then
- return
-end
+-- if nodeSwitched() then
+-- return
+-- end
local h, err = ngx.resp.get_headers()
@@ -1,9 +1,9 @@
http {
server {
- server_name *.etherdream.com;
- ssl_certificate cert/etherdream.com/ecc.cer;
- ssl_certificate_key cert/etherdream.com/ecc.key;
- listen 8443 ssl http2;
+ # server_name example.com;
+ # ssl_certificate cert/example.com/ecc.cer;
+ # ssl_certificate_key cert/example.com/ecc.key;
+ # listen 8443 ssl http2;
listen 8080;
include api.conf;
}