Hi everyone,
I’ve been using Caddy in front of nginx for a while now, mainly because it was impossible to replicate the behaviour at all. As I understand it, this is now possible, so I am wondering if there’s a clean way to do the following:
Basically, is there a way for me to use the same config as above without having to repeat the first part once per URL? The only way I see in the docs to do it is to add five sections with the exact same contents, which is rather unwieldy.
Hey @Stavros, thank you for posting! You can use three backticks (`) (not tilde, ~) to enclose your Caddyfile and it will be properly formatted. (Feel free to edit your post so it is formatted well. Thanks!)