Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5172 Lượt xem

Hi,

i have own ubuntu server, static IP and own domain. On ubuntu server running 3 openerp 7.0 instances with 3 different ports. Its posible to hide port ?

for example when i type wwww.domain.com:8069 i can log to one of freeopenerp instaces, but my goal is type www.domain.com/1.

Is possible to do that ?

Many thanks for any help

Mike

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Better use nginx or apache with subdomains of your domain for server names and let odoo select the database using dbfilter option in your config files 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

well i choosed Apache2, created subdomain test.domain.com but there is still same problem :( i have to write port to get access..

when i dont type test.domain.com:8069, cant join.

how to avoid and hide port in adress ?

many thanks

MIke

Ảnh đại diện
Huỷ bỏ

You need to setup apache as a reverse proxy of your instances. See how to here: https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension . I prefers Nginx over Apache but if you feel more comfortable with Apache do it like in the link

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 24
3131
0
thg 10 23
978
0
thg 6 22
2335
0
thg 10 20
2964
3
thg 1 25
7529