Forum OpenACS Development: [ad_conn peeraddr] returns 127.0.0.1
Even after setting up NGINX to be capable to get client's real IP, my OACS box doesn't return client's IP as expected, using [ad_conn peeradr]
(refs. https://ypereirareis.github.io/blog/2017/02/15/nginx-real-ip-behind-nginx-reverse-proxy/ and
127.0.0.1 is the IP assigned within NS-config.tcl, Plus, if I sing any other IP such as: VPN's or external's IP, [ad_conn peeraddr] will return respectively.
I believe the issue is on Naviserver. I wonder if I need to rebuild it with extra modules. If so, which ones?
Context: NGINX runs in front of NaviServer, which serves OpenACS.
hope this helps.