Odoo Help

Welcome!

This community 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.

0

Error redirection url after logout with nginx proxy

By
Antonio
on 8/12/14, 8:42 AM 6,402 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

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