Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

nginx reverse proxy nextcloud

/**
Add this to config.php (in /nextcloud/config/config.php)
to make the nextcloud instance aware of being in a proxy
and using correct information when making URLs
**/

'trusted_proxies'   => ['172.0.0.1'],
  'overwritehost'     => 'domain.com',
  'overwriteprotocol' => 'https',
  'overwritecondaddr' => '^172.0.0.1$',
 
PREVIOUS NEXT
Tagged: #nginx #reverse #proxy #nextcloud
ADD COMMENT
Topic
Name
7+9 =