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.
What? You are running Linux in a VM settled on a Synology DS and inside you are running one or more Docker containers?
This setup is way to complicated for me and maybe wastes too much RAM and CPU cycles, isn't it?
Hmmm ... Curious on what exactly you achieved ? I wanted to move the DSM login page from "https://my.ddns/" to "https://my.ddns/<anypathlessobvious>" and still did not find any clue how to do it."setting up a separate NGINX instance in a Docker container. So I could use that as a reverse proxy server instead of the Synology DSM RP. This gave me the ability to no longer expose the Synology DSM directly to the internet, so port forward 80 & 443 to the nginx docker container instead"
You can do this with reverse proxy if you have your own domain name. Just add your custom domain and redirect to your local nas IP address and dsm port. No way to do this for the main DSM login as oppose to other syno apps.I wanted to move the DSM login page from "https://my.ddns/" to "https://my.ddns/<anypathlessobvious>" and still did not find any clue how to do it.
Already done for other syno apps (https://my.ddns/<app>) with the built-in RP but what I wanted to do is move it also for main DSM login but couldn't find a way even with an nginx custom config file and as I saw @Shadow seems to have been able to move this one also :You can do this with reverse proxy if you have your own domain name. Just add your custom domain and redirect to your local nas IP address and dsm port. No way to do this for the main DSM login as oppose to other syno apps.
Or maybe I misunderstood what he meant ...This gave me the ability to no longer expose the Synology DSM directly to the internet
Well I don't use quickconnect or Synology DDNS as URLs to get to my NAS (internal or external network). I purchased my own domain. To get to my normal DSM login page, I have to use a specifiek URL or for my reverse proxy to propaly route the request.Or maybe I misunderstood what he meant ...
...
server
{
# set DNS resolver as Docker internal DNS
resolver 192.168.1.194 valid=10s;
resolver_timeout 5s;
# Pass header info to the target service
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
proxy_buffering off;
# Connection upgrade to HTTP1.1
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
server_name nas3.***.net;
# NGINX listener (at the container level)
listen 443 ssl;
listen 5001 ssl;
#listen 80;
# Supported HTTPS protocols
ssl_protocols TLSv1.2;
# SSL Certificate components (bound mind from host)
ssl_certificate /certs/carddav/fullchain.pem;
ssl_certificate_key /certs/carddav/privkey.pem;
location /
{
set $target http://dockerhost1.***.net:5000;
proxy_pass $target;
}
}
...
We use essential cookies to make this site work, and optional cookies to enhance your experience.