Skip to content

Commit

Permalink
add ac http config file
Browse files Browse the repository at this point in the history
  • Loading branch information
craftleon committed Sep 29, 2024
1 parent bd26712 commit 79ac584
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ac/main/etc/http.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 79ac584

Please sign in to comment.