]> Sergey Matveev's repositories - godlighty.git/blobdiff - rc/example.cfg/git.go
Simultaneous ECDSA and EdDSA support
[godlighty.git] / rc / example.cfg / git.go
index 5803850bafee0f2acf4b031679b1b2b033059aab..f15bdeaa2ca3b82ec8db361c471ed98647033b2e 100644 (file)
@@ -12,7 +12,7 @@ import (
 
 func addGitRepoCfg(host, root, gitwebCfg string) {
        godlighty.Hosts[host] = &godlighty.HostCfg{
-               TLS: newTLSCfg(host),
+               EdDSATLS: newTLSCfg(host),
                Hooks: []godlighty.Hook{
                        func(w http.ResponseWriter, r *http.Request) bool {
                                if r.URL.Path == "/" {
@@ -36,8 +36,8 @@ func addGitRepoCfg(host, root, gitwebCfg string) {
        }
        host = "www." + host
        godlighty.Hosts[host] = &godlighty.HostCfg{
-               Root: "/usr/local/share/gitweb",
-               TLS:  newTLSCfg(host),
+               Root:     "/usr/local/share/gitweb",
+               EdDSATLS: newTLSCfg(host),
                Hooks: []godlighty.Hook{
                        func(w http.ResponseWriter, r *http.Request) bool {
                                if r.URL.Path == "/" {