I think I'm getting close. Nextcloud is working but I'm getting this error in the GUIGood luck and enjoy the journey.
Code:
The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.
Here is my Caddyfile
Code:
mydomain.cf { root * /usr/local/www/html/ } cloud.mydomain.cf { encode gzip reverse_proxy https://192.168.5.81 { } } collabora.mydomain.cf { # Static html, js, images, etc. served from loolwsd # Loleaflet is the client part of LibreOffice Online reverse_proxy loleaflet https://192.168.5.89:9980 { # insecure_skip_verify } # WOPI discovery URL reverse_proxy hosting/discovery https://192.168.5.89:9980 { # insecure_skip_verify } # Main websocket reverse_proxy lool https://192.168.5.89:9980 { # insecure_skip_verify } ## Admin console websocket #reverse_proxy lool/adminws https://192.168.5.89:9980 { # insecure_skip_verify # websocket #} # Show capabilities as json reverse_proxy hosting/capabilities https://192.168.5.89:9980 { # insecure_skip_verify } # Download as, fullscreen presentation and image upload operations reverse_proxy lool https://192.168.5.89:9980 { # insecure_skip_verify } }
I had to add the root * instead of root
change 'proxy / http://.....' to 'reverse_proxy https://.....'
remove insecure_skip_verify and transparent
My collabora integration isn't working anymore. Will check your resource and check the steps.