In short I have a basic nextcloud docker image on my synology NAS. I have set up ports 80 and 443 with reverse proxy and an external domain name. So far so good. Traffic gets rerouted and my domain works.
Steps Iāve taken
My ssl certificate is generated on my synology nas through letās encrypt. I also tried using cloudflare and force https.
I have added
āoverwrite.cli.urlā => āhttps://mydomain.comā,
to the config.php. No change
I wanted to try to add the ssl certificate directly in my nextcloud install by using
nextcloud.enable-https
however, that command does not exist on my synology NAS so I canāt do that.
In a desperate attempt I tried the RewriteEngine to force https in .htaccess
I also use NC15.0.5 on synology āwithout dockerā and I donĀ“t have problems like this, also I dont made changes for https access into my config.php
I am at office rigth now, so I can not have a look into my settings.
did you set your port forwarding to the IP of Synology in your router?
did you set your certificat on sylogy
Thanks for your response.
I have also been able to get nextcloud working without the docker install on my synology nas with ssl working fineā¦ But I wanted to try out the docker version instead since there often seem to be issues with updating nextcloud when itās installed directly on the NAS. I always have to change several permissions and do manual config file editing after an update which is a bit annoying. Updating a docker image is so much easier and happens without issue. The certificate is fine and working, itās just that no page loads when connecting to the docker via https which is strange imoā¦ Their is probably some super easy setting somewhere that Iām just missing.
Iām having a similar problem as @luvis. Iām running DSM 6.2.2-24922, Docker 17.0.5.0-0401, docker image 'nextcloud:latest ā version 16.0. I have everything running fine on port 80 but just canāt get SSL to work.
Things Iāve done so far to get SSL to work with Nextcloud:
Created SSL cert via Letās Encrypt through DSM gui
Created 2 DSM reverse proxy entries.
a. change all incoming port 80 requests to port 443
b. change all port 443 requests to port 32770 (Nextcloud docker image 443 port)
When I try to access the Nextcloud login page from browser I do get the secure padlock to the left of the address bar. So everything appears to be fine and SSL seems to be working except when I go to password manager I get this HTTPS Setup Report.