<html><body><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt; color: #000000"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt; color: #000000"><div><em>It could work (tm)!</em><br></div><div><br data-mce-bogus="1"></div><div>Despite what's written in the troubleshooting guide of the WebDav zimlet I managed to make it work.<br data-mce-bogus="1"></div><div>In /opt/zimbra/conf/nginx/templates/nginx.conf.web.https.default.template add on top, before <em>location /</em>, the following:<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><span style="font-family: courier new, courier, monaco, monospace, sans-serif;" data-mce-style="font-family: courier new, courier, monaco, monospace, sans-serif;">    location ^~ /nextcloud/ {</span><br><span style="font-family: courier new, courier, monaco, monospace, sans-serif;" data-mce-style="font-family: courier new, courier, monaco, monospace, sans-serif;">        proxy_pass http://your-upstream-server/nextcloud/;</span><br><span style="font-family: courier new, courier, monaco, monospace, sans-serif;" data-mce-style="font-family: courier new, courier, monaco, monospace, sans-serif;">    }</span><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>This will <a data-mce-href="https://stackoverflow.com/a/5238430/738852" href="https://stackoverflow.com/a/5238430/738852">take precedence</a> over the conflicting <br></div><div><span style="font-family: courier new, courier, monaco, monospace, sans-serif;" data-mce-style="font-family: courier new, courier, monaco, monospace, sans-serif;">    location ~* /(service|principals|dav|\.well-known|home|octopus|shf|user|certauth|spnegoauth|(zimbra/home)|(zimbra/user))/</span><br data-mce-bogus="1"></div><div>line, allowing you to use <a href="https://your-zimbra-server/nextcloud">https://your-zimbra-server/nextcloud</a> location safely.<br data-mce-bogus="1"></div><br><br><div data-marker="__SIG_POST__">-- <br></div><div>Lorenzo Milesi - lorenzo.milesi@yetopen.it<br><br><br></div></div></div>
<br><div>

<a href="https://www.yetopen.it">

<img src="https://logo.ufficyo.com/logo_yetopen_firma_email.png" alt="YetOpen S.r.l." />

</a>

<br />

Via Salerno 18 - 23900 Lecco - ITALY -<br />

Tel +39 0341 220 205 - Fax +39 178 6070 222<br />

<br />

<em><font color="#77bb41">Think green</font> - Non stampare questa e-mail se non necessario / Don't print this email unless necessary</em><br />

<br />

<font style="font-size: 9px; color: rgb(162, 162, 162);">

-------- D.Lgs. 196/2003 e GDPR 679/2016 --------<br />

Tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. 

Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere confidenziali e riservate secondo i termini 

del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 - GDPR - e quindi ne e' proibita l'utilizzazione ulteriore non autorizzata.

Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, stamparlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile.

Grazie.<br />

<br />

Confidentiality notice: this email message including any attachment is for the sole use of the intended recipient and may contain confidential and privileged information;

pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 - GDPR - any unauthorized review, use, disclosure or distribution

is prohibited. If you are not the intended recepient please delete this message without copying, printing or forwarding it to others, and alert us as soon as possible. 

Thank you.<br />

</font>

</div>

<br></body></html>