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

Hallo,

I'm confusing, odoo drives me crazy.

I chnaged the web.base.url to https://mydomain.com
set web.base.url.freeze to True.

But after loading http://mydomain.com, odoo doesn't redirect to https://mydomain.com.


I'm using the odoo original docker image. I added proxy_mode = True to the /etc/odoo/odoo.conf file in the docker machine.


But no effect.

It doesn't matter what I set into web.base.url, no effects.

I'm using synology DSM6 with reverseproxy. If I call https://... directly, everything seems to be ok, but if I call http://... there is no redirect to https.


How can I fix this problem?

อวตาร
ละทิ้ง

how did you add SSL?

ผู้เขียน คำตอบที่ดีที่สุด

I could find a workaround for my problem.

I forwarded the port 80 to synology NAS port 8088 in the router. In syno NAS, I installed apache2.4 and Web Station. In the web station, I added a new virtual host with apache on port 8088 and placed in the web root directory .htaccess file with redirecting rules from http to https.

Thats it.

But I was hoping to find a better solution without so much overhead of software.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Error 400 : redirect_uri_mismatch แก้ไขแล้ว
8
ก.พ. 25
24101
0
ม.ค. 24
1945
3
ต.ค. 18
10580
1
ก.ค. 18
9064
5
ส.ค. 15
6569