1
0

Cloudflare-tunnel: Pass the original client's IP address to BTCPayServer (#668)

This commit is contained in:
Nicolas Dorier
2022-07-01 22:08:07 +09:00
committed by GitHub
parent d8a9cb5b40
commit f04530c032
3 changed files with 13 additions and 3 deletions

View File

@@ -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