Skip to content

eslym/caddycname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy Resolve Host CNAME

Resolve host CNAME and put it into placeholder

Usage

* {
    tls {
        on_demand
    }
    route {
        resolve_cname
    }
    reverse_proxy * http://127.0.0.1:8080 {
        header_up Host {http.request.host.cname}
        header_up X-Forwarded-Host {http.request.host}
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages