Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7709 มุมมอง

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.
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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 ?

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

ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
System redirect to a wrong url แก้ไขแล้ว
1
พ.ค. 25
734
0
พ.ย. 24
1386
0
มี.ค. 24
1384
1
ธ.ค. 23
7140
change URL of default module แก้ไขแล้ว
1
ก.พ. 22
8430