From ee7f474a4a21b07261ee2b0b65bb0d529d7edf9f Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Thu, 16 May 2024 23:03:21 +0200 Subject: [PATCH] Update README.md --- examples/nextcloud/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/nextcloud/README.md b/examples/nextcloud/README.md index 2a074ae..b1a1e90 100644 --- a/examples/nextcloud/README.md +++ b/examples/nextcloud/README.md @@ -17,7 +17,7 @@ The relevant nextcloud configuration file to define this is located at: //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, ... );