Thing is, most of what you want to know is already in the docs.
I’m sure it is, but take my situation for example. I wanted to do a reverse proxy, with a path, a not too uncommon situation I would figure. When you read the documentation for reverse-proxy it says “Additionally, schemes cannot contain paths or query strings, as that would imply simultaneous rewriting the request while proxying, which behavior is not defined or supported”
That reads a lot like “No, you can not use paths in upstreams. End of discussion”.
But you can, sort of… if you use the handle-directive. The documentation may be technically correct, but from a user-perspective it becomes confusing.
It’s like trying to learn a language from just a dictionary. You can see how a word is spelled, but the lack of real-world examples makes it extremely difficult.
With nginx and apache there is such a long history that all these fringe cases has already been dealt with and googling for your specific situation is very much easier.
As you know, CSP is just a header.
I know, but does Caddy have a special directive to handle a CSP, or does one do it manually? I don’t have to add the X-Forwarded-For header when using reverse_proxy, so maybe there is something similar in Caddy if you want to use a CSP or HSTS.
Of course, we welcome anyone else to contribute examples and tutorials to our wiki
I’m sorry, I actually didn’t realize that was a wiki, I just thought it was a redirect to the userforum.