mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 21:11:31 -07:00
Closes #503
This commit is contained in:
parent
afeae442a4
commit
62b238ed5d
2 changed files with 5 additions and 5 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue