Hello- I am having problems with the link tracker on my odoo instance. Currently, I have 5 links set up that it is supposed to keep track of. The links work great, but it's only tallying from a value of "0" to "1" and not going higher than that. I suspect that it has something to do with my reverse proxy setup.
I have 1 public IP that is shared amongst my house. Currently, all incoming requests go to a server running ISPconfig3. I created a "website" within ISPconfig and have it setup to proxy_pass all requests with my odoo's domain name over to my odoo instance. I included the following code in the nginx config file:
client_max_body_size 100m; port_in_redirect off; proxy_set_header Host $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Front-End-Https On; proxy_set_header X-Real-IP $remote_addr;
My odoo instance is also running nginx as a reverse proxy so that I am not required to use the port number. My config file there looks like this..
I'm definitely not an expert, but I'm guessing odoo see's every request as coming from itself as loopback instead of the real source IP which is why it's not tallying additional hits??
Any ideas of where I went wrong?
Thanks for the help!!