Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5208 Tampilan

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

Avatar
Buang
Jawaban Terbai

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 

Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang

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

Post Terkait Replies Tampilan Aktivitas
2
Agu 24
3191
0
Okt 23
979
0
Jun 22
2355
0
Okt 20
2986
3
Jan 25
7563