Should "tls off" disable Activating privacy features?

I noticed that Caddy writes “Activating privacy features… done.” if tls is turned off.
Does this mean, that tls is successfully deactivated or is there something missing? Or how do i know that privacy features are not activated?

For testing i use the following Caddyfile:

*:80 {
    tls off
    root /tmp
    log stdout
    errors stdout
    rewrite / {
        to {path} {path}/ /index.php?{query}

Using docker and Caddy 0.10.10 i get the following logs:

docker run -it -v $(pwd)/Caddyfile:/etc/Caddyfile -p 8099:80 abiosoft/caddy
Activating privacy features... done.
2017/11/07 13:09:29 http://*

I was expecting that “Activating privacy features …” is not printed or do i missunderstand something here?

It always prints that, even if there is no HTTPS. It prints that before it scans the configuration to see if it needs to enable HTTPS, so it doesn’t know yet whether it has any config that needs HTTPS.

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