I’m new to yunohost and hosting a webserver generally, so this is my first question about this.
My YunoHost server
**Hardware: Raspberry Pi at home
**YunoHost version: 3.8.5
**I have access to my server : Through SSH Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : I have disables the web administration interface. And I’m using a firewall.
Description of my issue
To make the setup more secure, I have disabled the web administration interface with the following commands from https://yunohost.org/#/security:
After that, the web administration interface login page (example.com/yunohost/admin/#/login) get opened as the homepage if I open the website and it says that the yunohost api is not reachable (which sounds correct because I have disabled it according to the documentation).
I can confirm I’m using a domain name and not an IP.
But I forgot to mention that I have a firewall between the main router and the YunoHost server which is doing NAT, so maybe that causes the YunoHost installation to think that it is reached by IP?
If so, how to change that?
I already have created some users, so that should not be the reason for the problem.
eeeeh, idk, maybe trying from another browser ? Otherwise I’m just pretty surprised … I see no reason for this to happen …
Can you maybe check the output of cat /etc/ssowat/conf.json.persistent, and see if there’s anything related to some redirection ? (I expect this command to just return {})
There is a redirection of / to example.com/yunohost/admin. Seems like this is the reason for my problem.
There are also some urls in the skipped_urls section. This seems to be the urls which can be reached without a login. They are related to Seafile, so it seems like this configuration comes from the installation of Seafile.
Is it save to just edit this file with nano and correct the redirected_urls part?
Or will this break something in the future if a YunoHost installation script want to change this file again?