Question Create File Request Drive Server Port Conflict

Currently reading
Question Create File Request Drive Server Port Conflict

1
0
Operating system
  1. Windows
Mobile operating system
  1. Android
Hello all, this a bit tricky for me to explain, please bare with me.

I have Synolgy Drive Server running on my DSM with App portal setup.
I have a public domain pointing to an Nginx reverse proxy server. i have the proxy set to point to the port for Drive Server. so when my clients enter mydomain.net, they are taken straight to the Drive login portal rather than DSM login. that being said the 5001 port is not not accessible from public side.
the Drive Server functions perfectly this way.

However, when i do Create File Request in DSM, it creates the link using the DSM port ( mydomain.net:5001/share.... ) removing the port from the link results in a 404.
now if i change the reverse proxy to forward to 5001, the file request works fine. but users can no longer directly access Drive login without /?launchApp... added to the URL.

any ideas so that it work both ways would be much appreciated.
 

Rusty

Moderator
NAS Support
4,101
1,179
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Leave the setup as you intended. When you get a link generated with 5001 port, just rename and correct the path using your reverse proxy acceptable url. Leave everything after the 1st / as it is. It will work that way no worries.
 

fredbert

Moderator
NAS Support
Subscriber
2,604
1,054
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Synology Drive Admin Console -> Settings -> Others

Have you tried adjusting the settings in Customise Sharing Link?
 

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

Hi, I’ve shared a Synology Drive file using its public link generator with anyone with the link to be...
Replies
0
Views
376
The Mac agent for Drive will sync the selected personal and team folders from the NAS to the Mac, meaning...
Replies
3
Views
1,163
Wondering if there was an inconspicuous background/indexing processes that it was working through before...
Replies
12
Views
5,408

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Trending threads

Top