mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
fix(caddy): remove broken header_up X-Forwarded-For from catch-all handler - nginx already sets it
This commit is contained in:
@@ -51,7 +51,6 @@ data:
|
||||
rewrite * /site-content{uri}
|
||||
reverse_proxy localhost:3000 {
|
||||
header_up Host {host}
|
||||
header_up X-Forwarded-For {http.request.header.X-Forwarded-For}, {remote_host}
|
||||
header_up X-Forwarded-Proto https
|
||||
header_up Cookie {http.request.header.Cookie}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
rewrite * /site-content{uri}
|
||||
reverse_proxy localhost:3000 {
|
||||
header_up Host {host}
|
||||
header_up X-Forwarded-For {http.request.header.X-Forwarded-For}, {remote_host}
|
||||
header_up X-Forwarded-Proto https
|
||||
header_up Cookie {http.request.header.Cookie}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user