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

i need to change odoo port from 8069 to 80

i found three solution to solve this problem but both of 2 didn't fix it

the 1st one is

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069

2nd one is iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069

3rd one is change my port from odoo-congif file from 8069 to 80

but the tree solution did't fix my problem

which one is right to use in my VPS

i use odoo v 9 and ubuntu v 16.04

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

i fix my problem by using nginx in my VPS server

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Please we can run odoo on port 80 with the help of Nginx reverse proxy server. Please refer the below links. Hope this will help you.

http://www.technaureus.com/how-to-run-odoo-on-port-80/

http://www.technaureus.com/how-to-setup-nginx-for-odoo/

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

It is recommended to use a proxy server for that purpose. Please read the documentation for a professional deployment: https://www.odoo.com/documentation/10.0/setup/deploy.html

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 16
8344
ReferenceError: odoo is not defined แก้ไขแล้ว
4
ม.ค. 24
16058
3
พ.ย. 16
3327
2
พ.ค. 22
15127
7
มิ.ย. 16
7488