2 Commits
Author SHA1 Message Date
hh 3199b5e542 Answers file under .copier 2026-09-08 20:11:39 +02:00
hh 26cf4c1f1f No route without parts 2026-09-08 20:08:58 +02:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,5 +4,5 @@ Copier template for a `caddy/` directory: a portable `site.caddy` for the projec
```sh
copier copy --trust -d project_slug=my_thing -d 'routes=["api","frontend"]' <this-repo> <dest>
copier update -a .copier-answers.caddy.yml
copier update -a .copier/caddy.yml
```
+1 -1
View File
@@ -1,6 +1,6 @@
_subdirectory: template
_templates_suffix: .jinja
_answers_file: .copier-answers.caddy.yml
_answers_file: .copier/caddy.yml
_envops:
keep_trailing_newline: true
+1 -1
View File
@@ -12,6 +12,6 @@
}
{% elif 'api' in routes %}
reverse_proxy {{ dash }}-api:8080
{% else %}
{% elif 'frontend' in routes %}
reverse_proxy {{ dash }}-frontend:3000
{% endif %}}