ZD + Nextcloud behind reverse proxy apache
Posted: Tue Jan 14, 2020 12:21 pm
Hello,
I have successfully configured a zimbra server (open source 8.8.15) with a Nexcloud 17
But my access to zimbra webmail is set with a reverse proxy apache front to the internet :
Internet <====> reverse proxy https <======> zimbra webmail https <== Zimbra Drive ==> Nextcloud
I have noticed a problem to previews image an pdf from web browser with ZD when using the reverse proxy, previews of image and pdf are failing (upload and download of files are working), here is the log apache of reverse proxy server :
10.9.x.x - - [13/Jan/2020:20:42:40 -0300] "GET /service/extension/ZimbraDrive_Download/TEST/test.docx?errorcallback=ZmZimbraDrivePreviewView._errorCallback&previewcallback=ZmZimbraDrivePreviewView._previewCallback&viewonly=1 HTTP/1.1" 200 186 "https://reverseproxy....mondomain.fr/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"
It is weird because previews are working good when using directly zimbra webmail (without passing through the reverse proxy)...
I have found this link about the same issue :
viewtopic.php?t=63432
But it does not give solution.
May someone have a solution to my issue ?
Best Regards,
I have successfully configured a zimbra server (open source 8.8.15) with a Nexcloud 17
But my access to zimbra webmail is set with a reverse proxy apache front to the internet :
Internet <====> reverse proxy https <======> zimbra webmail https <== Zimbra Drive ==> Nextcloud
I have noticed a problem to previews image an pdf from web browser with ZD when using the reverse proxy, previews of image and pdf are failing (upload and download of files are working), here is the log apache of reverse proxy server :
10.9.x.x - - [13/Jan/2020:20:42:40 -0300] "GET /service/extension/ZimbraDrive_Download/TEST/test.docx?errorcallback=ZmZimbraDrivePreviewView._errorCallback&previewcallback=ZmZimbraDrivePreviewView._previewCallback&viewonly=1 HTTP/1.1" 200 186 "https://reverseproxy....mondomain.fr/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"
It is weird because previews are working good when using directly zimbra webmail (without passing through the reverse proxy)...
I have found this link about the same issue :
viewtopic.php?t=63432
But it does not give solution.
May someone have a solution to my issue ?
Best Regards,