We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Even though proxying via Nginx is not necessary these days, proxy support may still be useful for load balancing purposes.
The proxy server uses the XCLIENT command to tell the server behind the proxy what the source IP address is.
Requirements:
Support the XCLIENT command (with an option to enable it in config).
case strings.Index(cmd, "XCLIENT") == 0: // Nginx sends this // XCLIENT ADDR=212.96.64.216 NAME=[UNAVAILABLE] client.Address = input[13:] client.Address = client.Address[0:strings.Index(client.Address, " ")] fmt.Println("client address:[" + client.Address + "]") responseAdd(client, "250 OK")
The text was updated successfully, but these errors were encountered:
fix issue #30
ba404ee
0b7bdbd
No branches or pull requests
Even though proxying via Nginx is not necessary these days, proxy support may still be useful for load balancing purposes.
The proxy server uses the XCLIENT command to tell the server behind the proxy what the source IP address is.
Requirements:
Support the XCLIENT command (with an option to enable it in config).
The text was updated successfully, but these errors were encountered: