I am unsure if this is an issue with nextcloud package in particular or with yunohost configs in general, but Nextcloud forces redirect to https, despite https redirect being disabled in yunohost with yunohost settings set security.nginx.redirect_to_https -v False and despite changing the config.php file to say ''overwrite.cli.url' => 'http://nextcloud.local', rather then what it was set to 'overwrite.cli.url' => 'https://nextcloud.local',
If I directly enter the url http://nextcloud.local/login in the address bar, the page will load in plain http, but it wont let me log in. hitting enter just takes me back to login screen. whether or not the password is correct does not even matter, whether the credentials are correct or not, page just reloads. I suspect this has something to do with the SSO ?
And using http://nextcloud.local redirects to https. And since my box has no internet connection, Its a self signed cert. Which the vast majority of android apps will not accept (like flocus). Plain http would be fine. but I cant figure out how to get plain http to work.
Context
Hardware: laptop or computer
YunoHost version: x.x.x
I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen | ...
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
If yes, please explain: no internet. yunohost only reachable via an isolated wifi network
Describe the bug
I am unsure if this is an issue with nextcloud package in particular or with yunohost configs in general, but Nextcloud forces redirect to https, despite https redirect being disabled in yunohost with
yunohost settings set security.nginx.redirect_to_https -v False
and despite changing the config.php file to say''overwrite.cli.url' => 'http://nextcloud.local',
rather then what it was set to'overwrite.cli.url' => 'https://nextcloud.local',
If I directly enter the url
http://nextcloud.local/login
in the address bar, the page will load in plain http, but it wont let me log in. hitting enter just takes me back to login screen. whether or not the password is correct does not even matter, whether the credentials are correct or not, page just reloads. I suspect this has something to do with the SSO ?And using
http://nextcloud.local
redirects to https. And since my box has no internet connection, Its a self signed cert. Which the vast majority of android apps will not accept (like flocus). Plain http would be fine. but I cant figure out how to get plain http to work.Context
Steps to reproduce
in url bar of fresh browser, type http://nextcloud.local. domain redirects to https.
Expected behavior
dont redirect to https. I cant get a valid cert, so I need plain http
Logs