Access services (like Photos, Drive, etc.) directly behind Reverse Proxy

Currently reading
Access services (like Photos, Drive, etc.) directly behind Reverse Proxy

Hi all,

I've set up my NAS behind an Nginx Reverse Proxy.
Everything's running nicely accessing https://syno.example.com. I would, however, like to directly access certain services using https://drive.syno.example.com.
I tried the following in Nginx:

Code:
location / {
proxy_pass http://192.168.x.x:5000/?launchApp=SYNO.SDS.Drive.Application;
}

but that only gave me a blank page.

Any suggestions on how to pull this off?

Best regards.
 
Solution
Hi all,

I've set up my NAS behind an Nginx Reverse Proxy.
Everything's running nicely accessing https://syno.example.com. I would, however, like to directly access certain services using https://drive.syno.example.com.
I tried the following in Nginx:

Code:
location / {
proxy_pass http://192.168.x.x:5000/?launchApp=SYNO.SDS.Drive.Application;
}

but that only gave me a blank page.

Any suggestions on how to pull this off?

Best regards.
Use the application portal first (tab before reverse proxy). Configure that app on a custom port of your choice and save it.

Then jump to reverse proxy tab and create a host that will point your desired name towards that custom port.
Hi all,

I've set up my NAS behind an Nginx Reverse Proxy.
Everything's running nicely accessing https://syno.example.com. I would, however, like to directly access certain services using https://drive.syno.example.com.
I tried the following in Nginx:

Code:
location / {
proxy_pass http://192.168.x.x:5000/?launchApp=SYNO.SDS.Drive.Application;
}

but that only gave me a blank page.

Any suggestions on how to pull this off?

Best regards.
Use the application portal first (tab before reverse proxy). Configure that app on a custom port of your choice and save it.

Then jump to reverse proxy tab and create a host that will point your desired name towards that custom port.
 
Upvote 0
Solution

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Question
Most likely that was the case. If you recall I did ask about loopback support in my initial question...
Replies
20
Views
2,688
  • Question
It sounds that the main focus is a LAN reconfiguration of DHCP and DNS services so that dynamically...
Replies
1
Views
571
Had simelar issue last Thursday. Router and 1 NAS worked, 2 NAS’s didn’t! This occurred as I was adding...
Replies
5
Views
844
  • Question
I guess "my Firewall" is the firewall on the Synology? a step by step tutorial can be found online like...
Replies
1
Views
843
OK at last, worked it out, you have to install Synology app on PC first then add name amd password then...
Replies
12
Views
1,329
There are three MASQUERADE rules* but I cannot see how they relate to the don't NAT name, or anything else...
Replies
45
Views
4,190

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top