This commit is contained in:
Roxedus 2022-11-27 23:20:31 +01:00 committed by GitHub
parent afeae442a4
commit 62b238ed5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -3,14 +3,14 @@
# assuming this container is called "swag", edit your nextcloud container's config # 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 ");": # located at /config/www/nextcloud/config/config.php and add the following lines before the ");":
# 'trusted_proxies' => ['swag'], # 'trusted_proxies' => ['swag'],
# 'overwrite.cli.url' => 'https://nextcloud.your-domain.com/', # 'overwrite.cli.url' => 'https://nextcloud.example.com/',
# 'overwritehost' => 'nextcloud.your-domain.com', # 'overwritehost' => 'nextcloud.example.com',
# 'overwriteprotocol' => 'https', # 'overwriteprotocol' => 'https',
# #
# Also don't forget to add your domain name to the trusted domains array. It should look somewhat like this: # Also don't forget to add your domain name to the trusted domains array. It should look somewhat like this:
# array ( # array (
# 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it. # 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it.
# 1 => 'nextcloud.your-domain.com', # 1 => 'nextcloud.example.com',
# ), # ),
server { server {

View file

@ -3,12 +3,12 @@
# located at /config/www/nextcloud/config/config.php and add the following lines before the ");": # located at /config/www/nextcloud/config/config.php and add the following lines before the ");":
# 'trusted_proxies' => ['swag'], # 'trusted_proxies' => ['swag'],
# 'overwritewebroot' => '/nextcloud', # 'overwritewebroot' => '/nextcloud',
# 'overwrite.cli.url' => 'https://your-domain.com/nextcloud', # 'overwrite.cli.url' => 'https://example.com/nextcloud',
# #
# Also don't forget to add your domain name to the trusted domains array. It should look somewhat like this: # Also don't forget to add your domain name to the trusted domains array. It should look somewhat like this:
# array ( # array (
# 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it. # 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it.
# 1 => 'your-domain.com', # 1 => 'example.com',
# ), # ),
location ^~ /.well-known { location ^~ /.well-known {