Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Yes, none of this unfortunately and the DSM redirect is only for DSM desktop.I think it's the HSTS option if available and then there's the DSM setting in Control Panel to direct HTTP to HTTPS.
I’m not sure if RP can be utilized here. I’m using the domain name not a subdomain (e.g. example.com not subdomain.example.com).reversed proxies settings in DSM runs on Nginx (which is installed in DSM by default).
How are you configuring this so that http://wpsite1.mydomain.tld/ gets automatically redirected to https://wpsite1.mydomain.tld/?I would say just try it. (I am using reversed proxies for subdomains an virtual hosts for wordpress domains.)
curl
to the proxied server name using HTTP will return a 302 error page saying the page has moved to an HTTPS address. Using a web browser to the HTTP address will load the HTTPS addressed content.That won't work. All it would do is to make the HTTPS web server provide content using HTTP to the requesting client.I know. I’m using a lot of RPs on a few DiskStations too. But this or replacing the destination with an IP address won’t work.
View attachment 4624
Please don't do that. As you depend on your application replacing the responses with an https protocol.
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
sudo nginx -t
and apply it with sudo nginx -s reload
. Done.Never did. It was an example.Please don't do that.
That’s what I’ve tried with server blocks but not in this particular location. It’s not as easy as Apache’s htacces. I’ll check this. I prefer to run Apache if it works though. Thanks.Personaly, I would add a manualy created conf file and put in the /etc/nginx/conf.d/ folder, make it listen to port 80 and redirect it to port 443.
It’s for Apache not nginx.Please read the link in my first post
I understand your sentiment. But it'll drive me crazy when it works and curl -i shows Nginx (as it is now). I won't rest, I need to know why. Now that I know I'm at peace with the worldThat's why I wrote: Just try it.![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.