Grasscutter icon indicating copy to clipboard operation
Grasscutter copied to clipboard

[Feature Request] Acknowledge X-Real-IP

Open Kio-td opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Users are silly. They do silly things. We use their IP Addresses to keep them accountable with silly things by preventing them from connecting. However, anyone with a reverse proxy knows, this request changes to 127.0.0.1 unless programs are specifically listening for an X-Real-IP header.

Describe the solution you'd like

When reverse proxying, it's important servers get the correct information, but it's also bad if it's improperly configured. If you're using a reverse proxy, then the config should include the abilty to accept X-Real-IP headers.

Describe alternatives you've considered

Personally, I like using domains, and reverse proxies make load balancing such a sweet, simple task. The only alternative I can see is getting a dedicated container just for grasscutter, and pointing my subdomain to that. that's not fun.

Kio-td avatar Dec 09 '22 15:12 Kio-td