Community mailing list archives

community@mail.odoo.com

Re: Convert Port to string

by
SISalp
- 11/02/2016 13:59:13
Hi,

a reverse proxy is done to do what you ask for.
I run multi tenant systems for all free hosting services
(http://sisalp.com) and it works well.
I use Apache2 for theses services.
If you host multiple Odoo servers on a single server, there are some
protections which are necessary, so a user cannot access others' data
nor block the services.


2016-11-02 18:51 GMT+01:00 Jos De Graeve <jos.degraeve@apertoso.be>:
>
> 2016-11-02 16:16 GMT+01:00 Hacene MEZIANI <hacene.meziani@gmail.com>:
>
> What I want to guet is:
> - www.mysite.com/entreprise1
> - www.mystie.com/entreprise2
>
>
> Hi Hacene,
>
> Some web applications allow you to configure the "main url" where the
> application is hosted, but unfortunately this is something that is not
> possible with odoo.  Odoo can only be hosted at the root website url.
>
> The best way to proceed is to work is to redirect to another hostname.
>
> www.mysite.com/enterprise1 -> www.enterprise1.mysite.com
> www.mysite.com/enterprise2 -> www.enterprise2.mysite.com
>
> Use Nginx or caddy as reverse proxy, configure TLS with letsencrypt and use
> the dbfilter_from_header module.
>
> Regards,
>
> Jos De Graeve - Apertoso business ICT
>
> http://www.apertoso.be/
>
> Guido Gezellelaan 16 - B-9800 Deinze - Belgium
>
> Direct: +32 9 381 64 51
> General:+32 9 381 64 50
> Mobile: +32 475 54 68 80
> mail/im/skype: Jos.DeGraeve@apertoso.be - apertoso
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe



-- 
Dominique Chabord - SISalp
Logiciel libre pour l'entreprise Tryton et open-source Odoo, OpenERP
18 avenue Beauregard 74960 Cran Gevrier
145A rue Alexandre Borrely 83000 Toulon
tel(repondeur) +33(0)950274960 fax +33(0)955274960 mob +33(0)622616438
http://sisalp.fr
http://openerp-online.fr
https://twitter.com/SISalp l'actualité de vos services en temps réel.