V2: is it possible to serve HTTP on a non-80 port with caddyfile?

Hi,

I wasn’t able to find a way to explicitly disable TLS for a specific port in V2’s Caddyfile. In V1, you could just do tls off but this no longer work in V2. Did I miss something or is it just unimplemented yet?

Thanks.

If you specify your site label like http://mysite.com:8080, it’ll serve HTTP on port 8080. Is that what you’re looking for?

2 Likes

Definitely, thanks. It wasn’t clear to me that you could specify the scheme in the site label for some reason.

1 Like

A post was split to a new topic: Why does this proxy config result in a HTTPS redirect?

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