Hardware: VPS bought online / YunoHost version: 11.2.20.2
**I have access to my server : Through SSH + through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
**If your request is related to an app, specify its name and version: my_webapp 1.0~ynh15
Cannot create a permanent access protection for subfolder
To be able to limit the access to a subfolder of my site site.xyz/sub,
i did activate the HTTP basic auth with Nginx.
This works…but…
after every update, Yunohost loses my config (auth_header and use_remote_user_var…).
Is there a working way to include the site.xyz/sub url somewhere in the SSOwat json file to authenticate to this sub-url via yunohost SSO
or
to keep the values for auth_header and remote_vars?
I’ve manipulated /etc/ssowat/conf.json to set auth_header and custom_remote_vars to false (the extract in my last post is just a part of the normal conf content)
I tried to put it in the /etc/ssowat/conf.json.persistent file as well, but this seem not to work or I do it in a wrong way.
I would love to understand how I could realize something like this for the subfolder of my site to avoid the workaround with http basic auth: