diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-06-18 16:30:12 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-06-18 16:32:15 +0200 |
| commit | 6a0fd11c6bd782a42b0b90d2f2365859a7953bb7 (patch) | |
| tree | bf50fdd6ee47a5fde5bd3a05b96006138100dee8 /roles/pihole/templates | |
| parent | c7a4dfce1ad0b545b05a8043e321ad49e48873a6 (diff) | |
Implement support for conditional proxy (nginx or caddy)
Diffstat (limited to 'roles/pihole/templates')
| -rw-r--r-- | roles/pihole/templates/pihole.caddy.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/pihole/templates/pihole.caddy.j2 b/roles/pihole/templates/pihole.caddy.j2 new file mode 100644 index 00000000..ee62299e --- /dev/null +++ b/roles/pihole/templates/pihole.caddy.j2 @@ -0,0 +1,5 @@ +{{ pihole_hostname }} { + redir / /admin/ permanent + reverse_proxy /admin/* localhost:{{ pihole_port }} + reverse_proxy /api/* localhost:{{ pihole_port }} +} |
