diff --git a/docs/examples/docker/basic-docker-compose/copyparty.conf b/docs/examples/docker/basic-docker-compose/copyparty.conf index 0a01498f..3590c1e4 100644 --- a/docs/examples/docker/basic-docker-compose/copyparty.conf +++ b/docs/examples/docker/basic-docker-compose/copyparty.conf @@ -8,6 +8,14 @@ e2ts # enable multimedia indexing ansi # enable colors in log messages (both in logfiles and stdout) + # If using a reverse proxy: + rproxy: -1 # Tell cpp we are behind 1 proxy + xff-src: 10.0.0.0/8 # Trust connections from Docker Gateway (10.0.2.1) + # If also using cloudflare DNS with proxy: (also keep the 2 configs above enabled/uncommented!) + # (see a full working nginx file example to use domain name + https + cloudflare in docs/examples/docker/basic-docker-compose) + # xff-hdr: x-forwarded-for # Read the real IP from this header + + # q, lo: /cfg/log/%Y-%m%d.log # log to file instead of docker # p: 3939 # listen on another port diff --git a/docs/examples/docker/basic-docker-compose/docker-compose.yml b/docs/examples/docker/basic-docker-compose/docker-compose.yml index d75d3117..afd41ca0 100644 --- a/docs/examples/docker/basic-docker-compose/docker-compose.yml +++ b/docs/examples/docker/basic-docker-compose/docker-compose.yml @@ -6,7 +6,7 @@ services: container_name: copyparty user: "1000:1000" ports: - - 3923:3923 + - 3923:3923 # use 127.0.0.1:3923:3923 if you want to listen locally only (ideal if you're using a domain + reverse proxy) volumes: - ./:/cfg:z - /path/to/your/fileshare/top/folder:/w:z