Hello,
I've got the letsencrypt docker running, as well as some other dockers (mostly Nextcloud and Plex).
I tried to redirect all http-requests to https using a site-config-file as shown below:
server {
listen 80;
server_name *.example.com example.com;
return 301 https://$host$request_uri;
}
The site-configs for Nextcloud etc. are in separate files and the default site-config-file is just an empty file.
Whenever I try to access my Cloud via https://cloud.example.com (note the https), everything is working fine.
But, whenever I try to access my Cloud via http://cloud.example.com, no redirect takes place and I am promted to enter my Unraid username and password (like root and password).
Does anyone have an idea what could be the reason for that?