Cannot connect to appstore despite using proxy

Hi,

I get the following error when I open the apps page:

Could not connect to appstore: cURL error 7: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Our server does not have internet connection but I did configure a proxy.= in config.php:

  'instanceid' => 'nvt',
  'passwordsalt' => 'nvt',
  'secret' => 'nvt',
  'trusted_domains' =>
  array (
    0 => 'nextcloud-t.example.com',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '20.0.7.1',
  'overwrite.cli.url' => 'https://nextcloud-t.example.com',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'nvt',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'debug' => true,
  'loglevel' => 1,
  'proxy' => 'proxys.example.com:8080',
  'proxyexclude' => ['.example.com'],
  'default_language' => 'en',
);

It does not look like the proxy server is used, I do not see a connection when I use tcpdump, when I curl to the appstore from the command line I see traffic in tcpdump and it works.

I use nextcloud 20.0.7