Note Station / DS Note

Discuss with the community any ideas you'd love to see in future DiskStations and DSM updates! We do our best to monitor and forward all of them, but we recommend to also use this form as our team will systematically see your suggestion:
https://www.synology.com/form/inquiry/feature
Forum rules
We do our best to monitor and forward your ideas to our team, but due to the large amount, we may not see every single one and recommend to also use this form as our team will systematically see your suggestion:
https://www.synology.com/form/inquiry/feature
User avatar
Rusty1281
Seeker
Seeker
Posts: 1760
Joined: Fri Jun 03, 2011 10:51 pm

Re: Note Station / DS Note

Postby Rusty1281 » Sat Nov 25, 2017 5:03 pm

bug reports goes via synology site not this forum.

2) I've configured a certain VirtualHost DNS

How did you configure this? I have it via app portal and share links use public name
Synology DS412+ (4x3TB WD red - RAID 5) | Synology DS211j (2x2TB WD green - RAID1) | RT1900AC
losty
I'm New!
I'm New!
Posts: 9
Joined: Fri Sep 27, 2013 10:41 am

Re: Note Station / DS Note

Postby losty » Sun Nov 26, 2017 11:13 am

That's actually a good point. I've set the hostname to "notes.mydomain.com", but I cannot set the ports to 80/443 because Webstation is listening on those. I've used mod_proxy in the vhost to tunnel the stuff to Note Station (among other services). So that's why Note Station still generates ugly URLs. Any workarounds? Is it possible to override this port in some config-file?
User avatar
Rusty1281
Seeker
Seeker
Posts: 1760
Joined: Fri Jun 03, 2011 10:51 pm

Re: Note Station / DS Note

Postby Rusty1281 » Sun Nov 26, 2017 11:32 am

Use application portal setting in control panel. There is also a revers proxy setting as well to reroute services from custom ports to a port of your choice. Give it a go.
Synology DS412+ (4x3TB WD red - RAID 5) | Synology DS211j (2x2TB WD green - RAID1) | RT1900AC
losty
I'm New!
I'm New!
Posts: 9
Joined: Fri Sep 27, 2013 10:41 am

Re: Note Station / DS Note

Postby losty » Sun Nov 26, 2017 11:20 pm

Thanks for the hint with the Reverse Proxy tab - didn't knew it exists...

However:
a) I checked and actually I did NOT use any manual Vhost stuff (which I commonly use for other services - which will now probably move to that reverse proxy tab ;-)). The setting in App-Portal for Note Station to set the domain to notes.mydomain.com appears to be enough to make Note Station reachable via web (and app), but the port in the generated URLs will still be :5001 (note that this is DSM https port and NOT Note Station https, which is :9351)

b) obviously I cannot use that domain name notes.mydomain.com in the App portal for Note Station and as an reverse proxy at the same time. If I remove it as the Note Statiom domain name and only set it as a reverse proxy to localhost:9351, I get 502 Bad Gateway when browing to https://notes.mydomin.com.

I'm a bit confused now on how to accomplish this. What setup did you have in mind (or do you use) to get clean generated URLs?
User avatar
Rusty1281
Seeker
Seeker
Posts: 1760
Joined: Fri Jun 03, 2011 10:51 pm

Re: Note Station / DS Note

Postby Rusty1281 » Mon Nov 27, 2017 11:43 am

losty wrote:I'm a bit confused now on how to accomplish this. What setup did you have in mind (or do you use) to get clean generated URLs?


Well I have under App portal setup NoteStation url that points to my lets encrypt name, for exp notes.mydomain.synology.me using the customized domain feature.

After that I have setup a revers proxy parametar that configured:

source: https protocol, hostname: notes.mydomain.synology.me (and my custom port that I use, lets say in your case 5001)
destination: https protocol, hostname: notes.mydomain.synology.me (and port 443)

This way I have a clean https url on a custom domain thats pushing my notes app on a custom port to 443, and as such I don't have to have it entered in the URL. Also all share generated urls are using the same clean url.

Adding and setting up customized domain without the revers proxy should work as well. NS should pick up on port 443 without the revers proxy setup. So try 1st without revers using the customized domain name, if that will not be enough try using the setting in revers.
Synology DS412+ (4x3TB WD red - RAID 5) | Synology DS211j (2x2TB WD green - RAID1) | RT1900AC
losty
I'm New!
I'm New!
Posts: 9
Joined: Fri Sep 27, 2013 10:41 am

Re: Note Station / DS Note

Postby losty » Tue Nov 28, 2017 7:06 pm

Hmm... thank for the explanation, but...

...are you on some beta version? I cannot enter that stuff - getting blocked by DSM...


Image
User avatar
Rusty1281
Seeker
Seeker
Posts: 1760
Joined: Fri Jun 03, 2011 10:51 pm

Re: Note Station / DS Note

Postby Rusty1281 » Tue Nov 28, 2017 8:51 pm

No beta version. I'm on the latest version thats 6.1.4 atm. Have you tried to use only with application portal settings without proxy? What exact port are you running you notes? Not really sure you can run it on 443 considering its reserved by DSM web services.

One option to use revers proxy would be to use your domain name on your 5001 port and redirect it to your domain name on port 443. This way you will get a clean url with no custom port need. Not sure why you would wanna use localhost as your final url name. The point is that the services you are running over the internet should have your registered domain name and not use localhost name at all.
Synology DS412+ (4x3TB WD red - RAID 5) | Synology DS211j (2x2TB WD green - RAID1) | RT1900AC
avoova
I'm New!
I'm New!
Posts: 1
Joined: Sat Dec 09, 2017 9:15 pm

More fonts and codebox (snippets) support

Postby avoova » Sat Dec 09, 2017 9:35 pm

My wishlist :)

Note station could be very usefull as snippets repository with in our company. I really miss a codebox for preformated text and support for more fonts like consolas, courier, monospace etc. It would be great to have syntax highlighting support as well as Text Editor by Synology.

Return to “Feature Requests & Product Improvement Suggestions”

Who is online

Users browsing this forum: No registered users and 6 guests