feat: add mealie and ip_only snippet to Caddyfile

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 01:41:04 +00:00
co-authored by Claude Sonnet 4.6
parent 283b699844
commit fd961a0668
2 changed files with 23 additions and 3 deletions
+17
View File
@@ -25,6 +25,11 @@
abort @blocked abort @blocked
} }
(ip_only) {
@blocked not remote_ip 24.139.235.46/32 192.168.68.0/24 2605:ba00:3108::/48 74.115.203.2/32 165.225.192.0/18
abort @blocked
}
# ── Main site ────────────────────────────────────────────────────────────────── # ── Main site ──────────────────────────────────────────────────────────────────
carloselugo.com, www.carloselugo.com { carloselugo.com, www.carloselugo.com {
reverse_proxy frontend:80 reverse_proxy frontend:80
@@ -141,6 +146,18 @@ route-rush.carloselugo.com {
} }
# ── Mealie (recetas) ─────────────────────────────────────────────────────────
mealie.carloselugo.com {
import ip_only
import security_headers
reverse_proxy mealie:9000
encode gzip
log {
output file /var/log/caddy/mealie.log
format json
}
}
# ── IT Tools ────────────────────────────────────────────────────────────────── # ── IT Tools ──────────────────────────────────────────────────────────────────
tools.carloselugo.com { tools.carloselugo.com {
import security_headers import security_headers
+6 -3
View File
@@ -7,7 +7,7 @@
"showStd": false, "showStd": false,
"showAllContainers": false, "showAllContainers": false,
"softWrap": true, "softWrap": true,
"collapseNav": true, "collapseNav": false,
"automaticRedirect": "delayed", "automaticRedirect": "delayed",
"size": "medium", "size": "medium",
"compact": true, "compact": true,
@@ -17,6 +17,9 @@
"locale": "", "locale": "",
"groupContainers": "at-least-2" "groupContainers": "at-least-2"
}, },
"pinned": [], "pinned": [
"collapsedGroups": null "enshrouded"
],
"releaseSeen": "v10.5.0",
"collapsedGroups": []
} }