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

URL changes to backend-odoo when login with another user account (Odoo 8) ?

By
Yassine TEIMI
on 12/22/15, 5:06 AM 658 views

Dears, 


Despite defining a system parameter with : 

 key : web.base.url 

And freezing it with another system parameter with : 

Key : web.base.url.freeze
Value : True

The following scenario happen with me :

I'm logged on with my account, I disconnect, and try to log on with another account, when pressing the connect button, I get the http://backend-odoo/web?

I can't explain this behavior. Is there any method that forces the backend-odoo URL ?

Note that I'm using nginx as reverse proxy, and I'm enabling proxy_mode on the odoo config file.
0
Mirco Strizzi
On 12/22/15, 5:12 AM

Hi Teimi, 


i was getting same proble, you have to replace http://backend-odoo with your real domain in nginx configuration file:

upstream www.mywebsite.com {

        server 127.0.0.1:8069;

}


server {

        keepalive_timeout  120;

        client_max_body_size 25M;

        location / {

                proxy_pass http://www.mywebsite.com;

        }

}

Hi Mirco, On sites-availables I changed the proxy_pass parameter into my real domain name, I restarted nginx but now I'm getting bad gatway from nginx ... is there somthing I'm missing ?

Yassine TEIMI
on 12/22/15, 5:22 AM

Hi TEIMI, you have to do this in sites-enabled. Check my answer, i edited with my nginx config file.

Metalluffico di Ottaviano Basso, Mirco Strizzi
on 12/22/15, 5:54 AM

I forgot to change backend-odoo on the upstream parameter also, works fine now. Thanks !

Yassine TEIMI
on 12/22/15, 6:25 AM

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

1 follower(s)

Stats

Asked: 12/22/15, 5:06 AM
Seen: 658 times
Last updated: 12/22/15, 6:25 AM