Sitemap.xml created incorrectly with reverse proxy
Using the fresh Odoo installation I configured website, all went fine apart from the fact that sitemap.xml is pointing to localhost:port rather than address defined at web.base.url parameter (it was defined after the website configuration).
As a site effect each time I login as admin to the system I am redirect to localhost. I setup web.buase.url.freeze to True but is does not help.
I deleted sitemap.xml from attachments few times other last 2 days but with no improvement.
The system is installed with reverse proxy Nginx.
Anybody has experience with this type of the problem?