mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 10:16:57 +00:00
Add LE support, listen on HTTPS and HTTP
This commit is contained in:
parent
0229274a6c
commit
121298af0e
2 changed files with 11 additions and 10 deletions
|
@ -70,6 +70,7 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) {
|
|||
|
||||
serveMux.HandleFunc("/", HTTPHandleRootURL)
|
||||
serveMux.HandleFunc("/stats", HTTPShowStatistics)
|
||||
serveMux.Handle("/.well-known", http.FileServer(http.FileSystem(http.Dir("/tmp/letsencrypt/.well-known"))))
|
||||
|
||||
serveMux.HandleFunc("/drop_backlog", HTTPBackendDropBacklog)
|
||||
serveMux.HandleFunc("/uncached_pub", HTTPBackendUncachedPublish)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue