Update README.md

This commit is contained in:
LRVT 2024-05-16 23:03:21 +02:00 committed by GitHub
parent c08877a114
commit ee7f474a4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ The relevant nextcloud configuration file to define this is located at:
/<your-volume-path>/nextcloud/app/config/ /<your-volume-path>/nextcloud/app/config/
```` ````
Adjust the PHP file and put in your subdomains as well as trusted proxy IPs. Adjust the PHP file and put in your subdomains at `trusted_domains` as well as trusted proxy IPs at `trusted_proxies`. Also set `overwriteprotocol` to `https` and may define a maintenance window via `maintenance_window_start`.
Something like this: Something like this:
@ -32,10 +32,11 @@ $CONFIG = array (
), ),
'trusted_proxies' => 'trusted_proxies' =>
array ( array (
0 => ['10.0.0.0/8'], 0 => '10.0.0.0/8',
1 => ['172.16.0.0/12'], 1 => '172.16.0.0/12',
2 => ['192.168.0.0/16'], 2 => '192.168.0.0/16',
), ),
'overwriteprotocol' => 'https',
'maintenance_window_start' => 1, 'maintenance_window_start' => 1,
... ...
); );