mirror of
https://github.com/9001/copyparty.git
synced 2025-12-27 10:15:16 -05:00
support cidr notation for --xff-src, --ipa, --*-ipa
the old `10.88.` syntax is still supported, translating to `10.88.0.0/16` also fix `--tftp-ipa` when optimizations are enabled
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
# if we are confident that we got the docker-network config correct
|
||||
# (meaning copyparty is only accessible through traefik, and
|
||||
# traefik makes sure that all requests go through authelia),
|
||||
# then disable the reverse-proxy source-ip safety check like this:
|
||||
xff-src: any
|
||||
# then accept X-Forwarded-For and IdP headers from any private IP:
|
||||
xff-src: lan
|
||||
|
||||
# enable IdP support by expecting username/groupname in
|
||||
# http-headers provided by the reverse-proxy; header "X-IdP-User"
|
||||
|
||||
Reference in New Issue
Block a user