Add documentation for proper IP proxying with PROXY header

This commit is contained in:
timvisee
2021-11-22 18:35:40 +01:00
parent 723ebabcfb
commit 0f2d7720af
2 changed files with 82 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
#drop_banned_ips = false
# Add HAProxy v2 header to proxied connections.
# See: https://git.io/J1bYb
#send_proxy_v2 = false
[time]
@@ -108,7 +109,8 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
# The target server will receive original client handshake and login request as received by lazymc.
#address = "127.0.0.1:25565"
# Add HAProxy v2 header to proxied connections.
# Add HAProxy v2 header to forwarded connections.
# See: https://git.io/J1bYb
#send_proxy_v2 = false
[join.lobby]
@@ -158,6 +160,7 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
#randomize_password = true
# Add HAProxy v2 header to RCON connections.
# See: https://git.io/J1bYb
#send_proxy_v2 = false
[advanced]