Skip to Content
Menu
This question has been flagged
1 Reply
2774 Views

Hi.

im running a multi company odoo12 community edition on a VPS managed by plesk. Odoo12 is running inside a docker container.

i assumed proxy rules to the container port and for one website, everything is working just fine.
lets say. example1.com is redirected to odoo longpolling port via apache in plesk:

ProxyPreserveHost off
ProxyPass / http://127.0.0.1:12072/
ProxyPassReverse / http://127.0.0.1:12072/

this is just working like charm.

now i want a second website... i configured it in plesk the same way i did with the main one.. proxypass to odoo docker port. i created a second website inside odoo, entered the 2nd domain "powerfullexample.com".

But when i go to the domain "powerfullexample.com" its just opening the website for "example.com"...

everything else is working normal... what am i missing? 

Avatar
Discard
Author Best Answer

this apache settings would be correct:


ProxyPreserveHost on
ProxyPass / http://127.0.0.1:12072/
ProxyPassReverse / http://127.0.0.1:12072/

now its working!

Avatar
Discard