Do you mean that http://myserver/webpage is served by a Custom Webapp, installed via YunoHost?
If so, if you want to force users to log in before accessing it, you have to tweak the permissions in the webadmin. Your app’s permission should be something like my_webapp.main:
Remove it from the Visitors
Add it to “All Users”
However, if your users are logged off and try to access the page, they will be asked for their credentials and will directly be brought to the app if the login is successful. They will see it in the dashboard only if they open its page.
OK! Then I would advise you to create such Custom Webapp and move your files over there, so that YNH can handle them. It works the same way as you did if your files, except the directory is in /var/www/my_webapp/www.
There is no other clean way to protect a path served by Nginx and restrict access through the SSO.