feat: update Caddyfile and Docker Compose for EchoIP service with improved IP header handling and database management
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 14s
Nix Format Check / check-format (push) Successful in 57s
Python Lint Check / check-python (push) Failing after 11s

This commit is contained in:
2025-03-26 15:54:34 +01:00
parent 7d4b255b4c
commit eeae791f72
3 changed files with 86 additions and 3 deletions

View File

@@ -65,9 +65,10 @@ fladder.mvl.sh {
ip.mvl.sh {
reverse_proxy echoip:8080 {
header_up X-Real-IP {remote}
header_up X-Forwarded-For {remote}
header_up X-Real-IP {http.request.remote.host}
header_up X-Forwarded-For {http.request.remote.host}
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
}
tls {{ caddy_email }}
}