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
2,503
754
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
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
1,700
692
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.

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Similar threads

Similar threads

Trending threads

Top