How cani make http default protocol

how can i make http default protocol in Caddyfile http

so if i write

testsite {
}

and caddy will use http and not https by default

i am aware of option with http:// in the beginning of site but it makes visual noise in conf

i couldn’t find such option in global config section in docs

thanks

That’s the exact way to do it.

Caddy is HTTPS by default, if you want to override that, you need to explicitly tell Caddy about the override.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.