Skip to content
hw edited this page Jun 8, 2019 · 1 revision

go-caddy an alternative Nginx

modify Caddyfile

  • HTTP basic:
xxxx.com:80 {
    proxy /  127.0.0.1:8080 {
        transparent
    }
}
  • HTTPS
xxxx.com:443 {
    gzip # 
    tls
    proxy /  127.0.0.1:8080 {
        transparent
    }
}

For more click doc

Clone this wiki locally