| Hey all, I've been setting up news.arc. I've got everything humming along behind a nginx proxy, but every time I post something, it tells me it's coming from 127.0.0.1. This wouldn't bother me a hell of a lot, but in reading the code I've noticed there are provisions to IP ban spammers, and I obviously can't have the sole IP banned. Plus, it bugs me that it's not working. I think I've found where headers are processed in srv.arc -- in parsheader -- but I'm new to Scheme/Arc amd don't know how to get parsheader to a) recognize something like X-Real-Ip and set the IP accordingly, and b) how to even get it to read X-Real-Ip in. Any help? |