i configure today a local server with nextcloud.
I open 80 & 443 ports on my router.
I configure DNS for my domain to reach my local server.
After that i modify the config.php in nextcloud folder to add my trusted domain :
but when i try to reach my domain i have this error : PR_END_OF_FILE_ERROR
i think the problem is on Nextcloud because when i try to reach my domain fxcloud.fr it work :
Nextcloud version : 27.1.3
Operating system and version : Debian 11 Bullseye
Apache or nginx version : Apache2
PHP version : 8.2
Is this the first time you’ve seen this error? : Yes
You have not setup your apache correctly
you have wrong values in your config.php
You probably have apache default on /var/www/html from there apache serves index.html the default page.
and you probably have nextcloud inside your html so nextcloud is at /var/www/html/nextcloud
You can reach it by http:// localhost/nextcloud and no other
Because you set in your config.php overwrite.cli.url to localhost so external request are overwriten to localhost which most clients don’t run. This value should point to https:// domain.tld/nextcloud.
If you correct the overwrite.cli.url => ‘http:// fxcloud. fr/nextcloud’, you should get your NC login loaded. Notice however this is not secure you should be using https.
Thanks for your fast reply.
I’ll work on it, when i finish and apply what you say, i’ll put the solution for people need the same help for this.
Have a good day.