Proxyexclude not working

Nextcloud version (eg, 18.0.2): 18.0.6
Operating system and version (eg, Ubuntu 20.04): Centos 8
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.37
PHP version (eg, 7.1): 7.3.5

The issue you are facing:
proxyexclude not working, so no connection to onlyoffice.

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

  1. add entries in config. php as described in the admin manual
    ‘proxy’ => ‘http://PROXY:3128’,
    ‘proxyexclude’ => [‘’, ‘’, ‘’],

  2. try to config onlyoffice

  3. connection error and proxyconnection in tcpdump

The output of your Nextcloud log in Admin > Logging:

GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 60001 milliseconds with 0 out of 0 bytes received (see

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

  'proxy' => 'http://PROXY:3128',
  'proxyexclude' => ['', '', ''],

Sorry i do not use it. But use perhaps ‘’ or ‘’.

'proxyexclude' => [],
For example: `['', '']` .

I tried that too, but there is still the connection created via the proxy.

if I comment both entries out, onlyoffice works. But then NC can not install any apps/check updates etc
I set NO_PROXY in /etc/environment too as I saw something mentioned in a git PR, but that didn’t help either.

I confirm this issue with nextcloud 18.0.7. exactly the same behaviour.

i see you replied in the github thread, that that is not implemented in NC 18.x