Caddy SSL to self-signed SSL reverse proxy example sought

For you, @Whitestrake and everyone else, I think I was running into this issue:

The top answer to this question is not the issue I was running in to, it’s actually the second answer, which talks about setting up Avahi to ignore docker by using deny-interfaces in Avahi.

There’s no reason my .local should have been resolving to 127.0.0.x, and on top of that, it seems that using Ubuntu’s default hosts file configuration may also contribute (Ubuntu defaults to hostname=127.0.1.1 and localhost=127.0.0.1). I bet I couldn’t easily reproduce this by default outside of Ubuntu; I’d have to edit the hosts file to match how Ubuntu does it.

I’m glad this forum exists and that people like @Whitestrake are able to help so readily. I’m hoping this question helps people who encounter this in the future!

1 Like

You should remove these lines, they’re junk. Caddy sets those headers appropriately, automatically. In fact, your logs should have a warning at startup about setting these this way.

2 Likes

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