Odoo - Nginx - Logout URL
If your odoo site redirects from your public address to the local IP address when logout. Add the following settings under in nginx config and set proxy_mode = True in odoo config.
proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Host $http_host; proxy_headers_hash_bucket_size 64;
This post is licensed under CC BY 4.0 by the author.