Caddy: Move to more templated approach

no ref

- The goal here is to be able to provide more functionality to self-hosters through snippets and other segmented config
- Some customers run Admin <-> content domains on separate ones which our current config doesn't support
- Our current config also hardcodes a www redirect which complicates setups when you don't have that domain setup or don't even want it
- Moving to a default template customers will have to copy which includes snippets allows us to update these later on without breaking peoples setups
This commit is contained in:
James Loh
2025-07-15 15:44:28 +10:00
parent 190a350bd5
commit 8d0d565df9
8 changed files with 73 additions and 65 deletions

View File

@@ -24,3 +24,6 @@ indent_size = 2
[Makefile]
indent_style = tab
[Caddyfile]
indent_style = tab