Odoo Help

0

Error redirection url after logout with nginx proxy

By
Antonio
on 8/12/14, 8:42 AM 7,574 views

I have a odoo instance behind a nginx proxy. Everything works fine but when i logout the redirect url is incorrect (the base url is lost). Any ideas?

Thnx

Please provide a proper error log and your nginx config if necessary.

Ben Bernard
on 8/13/14, 12:59 AM
1
Antonio
On 8/13/14, 2:13 AM

I found a solution. Looking for the logout controller function I've seen that allows a parameter. I have made a nginx rewrite: rewrite /web/session/logout /web/session/logout?redirect=https://$host $break;

Invalid parameter "$break" How do I make this work?

Matt Taylor
on 10/2/14, 1:21 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)

Stats

Asked: 8/12/14, 8:42 AM
Seen: 7574 times
Last updated: 3/16/15, 8:10 AM