mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 05:02:58 +03:00
[PR #189] [MERGED] fix(caddy): trusted_proxies for IPv6 enabled hosts #928
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/189
Author: @apearson
Created: 1/30/2025
Status: ✅ Merged
Merged: 2/1/2025
Merged by: @stonith404
Base:
main← Head:patch-1📝 Commits (1)
715a16cUpdate Caddyfile.trust-proxy to include IPv6📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
reverse-proxy/Caddyfile.trust-proxy(+3 -0)📄 Description
Problem
Current the Caddyfile.trust-proxy config only includes 0.0.0.0/0 which only includes IPv4 proxies.
Proposed Solution
Adding ::/0 (the equivalent of 0.0.0.0/0 for IPv6) allows for IPv6 proxies to be trusted.
Testing
trusted_proxies ::/0and reload caddy with changed Caddyfile[1] Caddy site block on IPv6 enabled host
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.