mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-31 05:33:46 +00:00
Update README.md
This commit is contained in:
parent
c08877a114
commit
ee7f474a4a
|
@ -17,7 +17,7 @@ The relevant nextcloud configuration file to define this is located at:
|
|||
/<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:
|
||||
|
||||
|
@ -32,10 +32,11 @@ $CONFIG = array (
|
|||
),
|
||||
'trusted_proxies' =>
|
||||
array (
|
||||
0 => ['10.0.0.0/8'],
|
||||
1 => ['172.16.0.0/12'],
|
||||
2 => ['192.168.0.0/16'],
|
||||
0 => '10.0.0.0/8',
|
||||
1 => '172.16.0.0/12',
|
||||
2 => '192.168.0.0/16',
|
||||
),
|
||||
'overwriteprotocol' => 'https',
|
||||
'maintenance_window_start' => 1,
|
||||
...
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user