diff --git a/ansible/files/Caddyfile.j2 b/ansible/files/Caddyfile.j2 index e01c5dc..c8f0395 100644 --- a/ansible/files/Caddyfile.j2 +++ b/ansible/files/Caddyfile.j2 @@ -1,5 +1,6 @@ {{ host }}{% if apex_host is defined and apex_host %}, {{ apex_host }}{% endif %} { # PocketBase Admin UI and REST API + redir /_ /_/ handle /_/* { reverse_proxy {{ container_name }}:8090 } @@ -15,6 +16,7 @@ {% if admin_host is defined and admin_host %} {{ admin_host }} { + redir / /_/ reverse_proxy {{ container_name }}:8090 } {% endif %}