Cloudflare-tunnel: Pass the original client's IP address to BTCPayServer (#668)
This commit is contained in:
@@ -4,6 +4,9 @@ services:
|
||||
cloudflared:
|
||||
container_name: 'cloudflared-tunnel'
|
||||
image: btcpayserver/cloudflared:2022.6.3
|
||||
network_mode: host
|
||||
command: 'tunnel --no-autoupdate run --token ${CLOUDFLARE_TUNNEL_TOKEN}'
|
||||
restart: 'on-failure'
|
||||
restart: 'on-failure'
|
||||
environment:
|
||||
REAL_IP_HEADER: Cf-Connecting-Ip
|
||||
links:
|
||||
- nginx
|
||||
Reference in New Issue
Block a user