I need to put the Carbonio webmail UI behind a reverse proxy. When I attempt tp do the all I get is 500 errors. Anyone have this working? I'm using an Apache reverse proxy but nginx or similar instructions would probably work too.
I was able to achieve this with the following (apache reverse proxy):
<Location /carbonio>
ProxyPreserveHost on
ProxyPass https://mail.example.com/carbonio
ProxyPassReverse https://mail.example.com/carbonio
</location>
<Location /static>
ProxyPreserveHost on
ProxyPass https://mail.example.com/static
ProxyPassReverse https://mail.example.com/static
</location>
<Location /principals>
ProxyPreserveHost on
ProxyPass https://mail.example.com/principals
ProxyPassReverse https://mail.example.com/principals
</location>
<Location /zx>
ProxyPreserveHost on
ProxyPass https://mail.example.com/zx
ProxyPassReverse https://mail.example.com/zx
</location>
<Location /service>
ProxyPreserveHost on
ProxyPass https://mail.example.com/service
ProxyPassReverse https://mail.example.com/service
</location>
<Location /public>
ProxyPreserveHost on
ProxyPass https://mail.example.com/public
ProxyPassReverse https://mail.exampe.com/public
</location>
<Location /static>
ProxyPreserveHost on
ProxyPass https://mail.example.com/static
ProxyPassReverse https://mail.example.com/static
</location>
<Location /dav>
ProxyPreserveHost on
ProxyPass https://mail.example.com/ dav
ProxyPassReverse https://mail.example.com/ dav
</location>