Carbonio behind rev...
 
Notifications
Clear all

Carbonio behind reverse proxy?

3 Posts
2 Users
0 Reactions
665 Views
(@diito)
Joined: 11 months ago
Posts: 22
Topic starter  

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.


   
Quote
(@sharif)
Admin
Joined: 3 years ago
Posts: 591
 
 
Hi,
 
Carbonio CE uses Nginx as it's main proxy component. And as you know reverse proxy is one of the key feature of Nginx. So could you please tell us more about why do you need another separate reverse proxy along with Nginx and what is the overall target you want to achieve?
Thanks and regards,
 
Sharif

   
ReplyQuote
(@diito)
Joined: 11 months ago
Posts: 22
Topic starter  

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>


   
ReplyQuote