跳至內容
選單
此問題已被標幟
2 回覆
5193 瀏覽次數

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

頭像
捨棄
最佳答案

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 

頭像
捨棄
作者 最佳答案

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

頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
2
8月 24
3151
0
10月 23
978
0
6月 22
2347
0
10月 20
2979
3
1月 25
7546