Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): ‘28.0.4’
Operating system and version (eg, Ubuntu 20.04): ‘docker container running the latest docker image’
Apache or nginx version (eg, Apache 2.4.25): ‘Nginx Proxy Manager 2.11.1’
PHP version (eg, 7.4): `idk where to find that’
The issue you are facing:
I have been trying everything I can to get rid of the warning:
- 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. Please read the documentation page about this .
But everytime I try something I does not get rid of it.
I can access the website through the domain and use nextcloud I just want to get rid of the warning.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- Open the security setup
The output of your Nextcloud log in Admin > Logging:
don't need
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'upgrade.disable-web' => true,
'instanceid' => 'XXXXXXXXXXXXXXX',
'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXX',
'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'trusted_domains' =>
array (
0 => 'nextcloud.XXXXXXXX.duckdns.org',
),
'trusted_proxies' => array(
0 => '192.168.20.50',
),
'overwriteprotocol' => 'https',
'overwritehost' => 'XXXXXXX.duckdns.org',
'overwritecondaddr' => '^192\.168\.20\.50$',
'forwarded-for-headers' =>
array (
0 => 'X-Forwarded-For',
1 => 'HTTP_X_FORWARDED_FOR',
),
'overwrite.cli.url' => 'https://nextcloud.XXXXXXX.duckdns.org/nextcloud',
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '28.0.4.1',
'dbname' => 'XXXXXXXXXX',
'dbhost' => 'nextcloud-db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'XXXXXXXXXX',
'dbpassword' => 'XXXXXXXXXXXXXXXXXX',
'installed' => true,
'app_install_overwrite' =>
array (
0 => 'memories',
),
'memories.exiftool' => '/var/www/html/custom_apps/memories/bin-ext/exiftool-amd64-glibc',
'memories.vod.path' => '/var/www/html/custom_apps/memories/bin-ext/go-vod-amd64',
'loglevel' => 2,
'maintenance_window_start' => 1,
'maintenance' => false,
'memories.db.triggers.fcu' => true,
'default_phone_region' => 'ISO 3166-2:US',
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
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. Please read the documentation page about this ↗.