Skip to content

Commit 735f6e6

Browse files
committed
docs: add real_ip option to sample config
The feature is not new, but it was not documented in the sample config.
1 parent 405c6cc commit 735f6e6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config.sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ webserver:
22
# For IPv6, set the listen_addr to "::"
33
listen_addr: "0.0.0.0"
44
listen_port: 8080
5+
# If you want to use a reverse proxy in front of the server, set this to true
6+
# It will use the X-Forwarded-For header to get the real IP of the client
7+
real_ip: false
58
full_url: "/full-stream"
69
lite_url: "/"
710
domains_only_url: "/domains-only"

0 commit comments

Comments
 (0)