Add extra-services (used to be conf-hidden.d in caddy)

This commit is contained in:
Tobias Reisinger 2023-12-15 03:06:20 +01:00
parent 7400ef19ad
commit f8c478b2e6
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
12 changed files with 29 additions and 107 deletions
_ansible/templates

View file

@ -18,6 +18,8 @@
handle {
{% if svc.faas_function|default(false) %}
import faas {{ svc.faas_function }}
{% elif svc.redirect|default(false) %}
redir "{{ svc.redirect }}"
{% else %}
reverse_proxy {{ svc.docker_host|default(svc.name) }}:{{ svc.port }}
{% endif %}