注意: 編譯 ARM 客戶端 (手機用) GOOS=linux GOARCH=arm make release-client 編譯 Mac 客戶端 (Macbook用) GOOS=darwin GOARCH=amd64 make release-client 編譯 windows 客戶端 (電腦用) GOOS=windows GOARCH=amd64 make release-client 或是 GOOS=windows GOARCH=386 make release-client
ngrok (Ctrl+C to quit) Tunnel Status online Version 1.7/1.7 Forwarding tcp://ngrok.aligogo.pw:22222 -> 127.0.0.1:22 Web Interface 127.0.0.1:4040 # Conn 0 Avg Conn Time 0.00ms
-- 指定要允許ip的判斷。 if ngx.var.whitelist == "1" then -- 秀ip 及國碼 ngx.exec('/showcode'); end -- 阻擋國家的判斷。 if ngx.var.chek_flag == "0" then ngx.exit(ngx.HTTP_FORBIDDEN) end -- 以上沒被判斷到的 ngx.exec('/showcode');