From 79ac58465ee53658e1209ed0911af71a23c14b2e Mon Sep 17 00:00:00 2001 From: zengl Date: Sun, 29 Sep 2024 10:10:49 +0800 Subject: [PATCH] add ac http config file --- ac/main/etc/http.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ac/main/etc/http.toml diff --git a/ac/main/etc/http.toml b/ac/main/etc/http.toml new file mode 100644 index 00000000..b47fdac1 --- /dev/null +++ b/ac/main/etc/http.toml @@ -0,0 +1,12 @@ +# http server config + +# EnableHttp: true: turn on http server, false: shutdown http server. +# EnableTLS: whether to use TLS certificates for hosting https server. +# TLSCertFile: certificate file path. +# TLSKeyFile: key file path. +# to update http changes, you need to restart the http server by changing "EnableHttp" to "false" and then switch it back to "true". +EnableHttp = true +EnableTLS = true +HttpListenPort = 62206 +TLSCertFile = "cert/cert.pem" +TLSKeyFile = "cert/cert.key"