I have the 443-> 443 and 80 -> 80 port forwarding setup to my local rasberry PI IP address.
When I try to start Caddy I get the error:
“starting version 3.2.2
2017/10/21 18:51:54 [example] failed to get certificate: acme: Error 400 - urn:acme:error:malformed - Error creating new authz :: DNS name does not have enough labels
Activating privacy features…”
I managed to make it work by changing it to “raw_config”: “”, but still not clear on what this parameter does and the other disable_http_chalenge parameter.
Also if I change port forwarding to 443 -> 8123 on my RPI Ip, it stops working. I am a bit worried how safe it is to leave the 443-> 443 and 80 -> 80 port forwarding. Hope someone can advise.
so the point of caddy is that it handles the external traffic and hands it off internally to HASS and any other services you define. in other words 443 -> 443 is how it is supposed to work and 443 -> 8123 will cause it to stop working. it is safe this way.
I am planning on upgrading my reverse proxy from an old IIS server to caddy and am thinking of running it on hass.io on my rpi. I’ll post about my experience when I do.