Hi!
I use the built-in NGINX proxy on my private DS. I map the DSM login from ds.example.com to https://localhost:5001 , which works great.
Also, the mapping for OpenProject for ds.example.com/pm/ works. For full info, I have the web station running NGINX.
My file looks like this.
I would like to do it similarly with a second Rackstation. However, with a small difference.
The goal this time would be to map rs.example.com/test/ to the DSM login.
However, this does not work. Can someone perhaps tell me what this could be or where my error is? No matter if the webstation is running or not. It does not work.
With Webstation running, I get the message, "We're sorry, the page you are looking for could not be found."
Diskstation and Rackstation running DSM 7.1.1 (latest Version)
Would be great if someone could give us some hints or tips. Thank you.
I use the built-in NGINX proxy on my private DS. I map the DSM login from ds.example.com to https://localhost:5001 , which works great.
Also, the mapping for OpenProject for ds.example.com/pm/ works. For full info, I have the web station running NGINX.
My file looks like this.
Code:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name ds.example.com;
#----- OpenProject ---- #
location /pm/ {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://localhost:32796/pm/;
}
#----- DSM ---- #
location / {
proxy_set_header Host $host;
proxy_pass https://localhost:5001;
}
}
I would like to do it similarly with a second Rackstation. However, with a small difference.
The goal this time would be to map rs.example.com/test/ to the DSM login.
Code:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name rs.example.com;
#----- DSM ---- #
location /test/ {
proxy_set_header Host $host;
proxy_pass https://localhost:5001;
}
}
However, this does not work. Can someone perhaps tell me what this could be or where my error is? No matter if the webstation is running or not. It does not work.
With Webstation running, I get the message, "We're sorry, the page you are looking for could not be found."
Diskstation and Rackstation running DSM 7.1.1 (latest Version)
Would be great if someone could give us some hints or tips. Thank you.