I get this error in nextcloud overview
You are accessing your instance over a secure connection, however your instance is generating insecure URLs. This most likely means that you are behind a reverse proxy and the overwrite config variables are not set correctly.
in the documentation it says to add my proxy server address in config.php trusted_proxies line, but there isnt any, do i add trusted_proxies line to config.php?
The configuration file by default doesn’t contain all availble parameters If a required parameter is missing, you need to add it to customize your installation.
Ok, another problem it says to set my server to use https instead of http, in security tips it said to add following settings to apache file, couldnt paste it here
i added it, restarted the server but the error message is still there, also tried changing port to 80, and also routing all traffic with https, didn’t work