2

Expand public installation and API documentation

This commit is contained in:
2026-03-12 14:35:39 +01:00
parent 34d6d3ddcb
commit f15839cf51
7 changed files with 907 additions and 103 deletions

23
examples/Caddyfile Normal file
View File

@@ -0,0 +1,23 @@
{
# caddy-opnsense-blocker expects the default JSON access log format.
# If Caddy is itself behind another proxy, make sure request.client_ip
# contains the real client address before you feed logs to the blocker.
}
example.com {
log {
output file /var/log/caddy/public-web-access.json
format json
}
reverse_proxy 127.0.0.1:8080
}
git.example.com {
log {
output file /var/log/caddy/gitea-access.json
format json
}
reverse_proxy 127.0.0.1:3000
}