Currently, the web requests are redirected like this:
- for DevCentral: Nginx on Equatower → Web server on the container
- for the forum: Nginx on Dwellers → Nginx on the container → Ruby server on the container.
With this system, they offer 127.0.0.1 as user IP address in the logs.
On both nginx configuration, we should ensure we have this kind of headers:
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
See also T274.