From 6725e305889d4c4e6fec1c413d45603109f58d47 Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:52:32 -0400 Subject: [PATCH] Nextcloud: update trusted proxies instructions --- nextcloud.subdomain.conf.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.subdomain.conf.sample b/nextcloud.subdomain.conf.sample index 5fb72f8..526efa8 100644 --- a/nextcloud.subdomain.conf.sample +++ b/nextcloud.subdomain.conf.sample @@ -1,9 +1,9 @@ -## Version 2023/06/24 +## Version 2024/04/25 # make sure that your nextcloud container is named nextcloud # make sure that your dns has a cname set for nextcloud # assuming this container is called "swag", edit your nextcloud container's config # located at /config/www/nextcloud/config/config.php and add the following lines before the ");": -# 'trusted_proxies' => ['swag'], +# 'trusted_proxies' => [gethostbyname('swag')], # 'overwrite.cli.url' => 'https://nextcloud.example.com/', # 'overwritehost' => 'nextcloud.example.com', # 'overwriteprotocol' => 'https',