Now the addon will not start (not sure if it was due to an update to either hassio or caddy) unless I remove all of the vhost entries. Doing so, I can access the HA frontend outside my local network but I would really like to at least access node red as well from outside.
Any time I try to add any of the vhost entries, the addon gives me this error and will not let me start the addon: not a valid value for dictionary value @ data['options']
I think there must have been an update that altered the format for the vhost entries but I cannot figure it out. I have also tried cutting/pasting other examples I have found in the forums here and they produce the same error. This is the only config that will let me start the addon so far:
I am also using the bestlibre caddy addon (https://github.com/bestlibre/hassio-addons/tree/master/caddy_proxy), however I’ve just updated the addon and there appears to be a breaking change. Can anyone please provide an example of what a properly-formatted vhosts entry would look like? I’ve read the docs but I’m not making any progress… many thanks
Ok so I finally figured it out. When moving to the latest version of the bestlibre caddy addon you need to add “paths”: [] to each vhost or the config is invalid.
Was just about to mention this. I don’t have mine set up currently, but a friend ran into the same issue and adding paths: [] was what I suggested. He ended up just deleting the vhost, so I never got confirmation if it would actually fix it. Good to know it does.