Merge pull request #162 from ChillyKitty/patch-1

Update Caddyfile to Add X-Real-IP to fix bot detection
This commit is contained in:
Alexandre Flament 2023-08-25 07:54:53 +02:00 committed by GitHub
commit 9e42027c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,7 @@
reverse_proxy localhost:8080 { reverse_proxy localhost:8080 {
header_up X-Forwarded-Port {http.request.port} header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme} header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Real-IP {remote_host}
} }
} }