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
1,647
OK at last, worked it out, you have to install Synology app on PC first then add name amd password then...
Replies
12
Views
487
There are three MASQUERADE rules* but I cannot see how they relate to the don't NAT name, or anything else...
Replies
45
Views
1,615
  • Question
Good point. I assumed it was 24 due to lack of details, but again, good point.
Replies
3
Views
595
Once ABB is setup with the valid LE certificate then it will continue to work. The LE certificate will...
Replies
12
Views
851
  • Solved
My intrusion settings are set to “Detect and Block” and now that I've turned the notifications on, it...
Replies
7
Views
825

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Trending threads

Back
Top