Skip to content

Commit 6725e30

Browse files
authored
Nextcloud: update trusted proxies instructions
1 parent 2974133 commit 6725e30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nextcloud.subdomain.conf.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## Version 2023/06/24
1+
## Version 2024/04/25
22
# make sure that your nextcloud container is named nextcloud
33
# make sure that your dns has a cname set for nextcloud
44
# assuming this container is called "swag", edit your nextcloud container's config
55
# located at /config/www/nextcloud/config/config.php and add the following lines before the ");":
6-
# 'trusted_proxies' => ['swag'],
6+
# 'trusted_proxies' => [gethostbyname('swag')],
77
# 'overwrite.cli.url' => 'https://nextcloud.example.com/',
88
# 'overwritehost' => 'nextcloud.example.com',
99
# 'overwriteprotocol' => 'https',

0 commit comments

Comments
 (0)