Forum OpenACS Development: Re: [ad_conn peeraddr] returns 127.0.0.1

Collapse
Posted by Gustaf Neumann on
Have you checked the sample config file for OpenACS [1]? It has a variable called "proxy_mode" which should be set to "true" in such configurations. If you have done this, and no success, check your nginx setup, whether it provides the necessary "X-Forwarded-For" header field.

hope this helps.
-gn

[1] https://bitbucket.org/naviserver/naviserver/src/tip/openacs-config.tcl?at=default&fileviewer=file-view-default

Collapse
Posted by Iuri Sampaio on
Right on! A nice and easy parameter amend. It works now!
Thanks Gustaf
Collapse
Posted by Iuri Sampaio on
Just a few more information regarding the theme!
Collapse
Posted by Iuri Sampaio on
Just a few more information regarding the theme!

https://openacs.org/forums/message-view?message_id=1156435