I have multiple server I have at my house I want to access remotely. Some are http some are https and ports are scattered all over the place (8000,8443, etc)
I am currently trying to set up access to my nagios server (which is https)
my server is only accessible from my work location so it is not publicly facing at all.
when I try to connect to the site over https the caddy log says no certs configured
I added the nagios and router entries to my /etc/hosts however when I access them I get error 404 and http2: server: error reading preface from client X.X.71.43:53799: remote error: tls: unknown certificate authority
Personally, I would simply point my proxies to https://10.1.20.100 (for Nagios) and https://10.1.1.1 (for the router) directly in the Caddyfile instead of maintaining a hosts file entry just for Caddy to reference.
question - if I have my CaddyFile like the below… I can access my router by goign to the FQDN… how do I access the 192 address without the FQDN? nagios.xxx.duckdns.org gets me nagios but i don’t think 192.168.1.1.xxx.duckdns.org would get me my other device
unknown directive error also lists exactly what line it encountered that it didn’t recognize. Can you post the full error? And the full Caddyfile you’re currently using?