mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-16 18:50:20 +00:00
Merge pull request #7201 from nextcloud/enh/noid/add-private-ranges
update private ip-ranges
This commit is contained in:
commit
bb662752b2
2 changed files with 2 additions and 2 deletions
|
|
@ -741,7 +741,7 @@ if [ "$COLLABORA_ENABLED" = 'yes' ]; then
|
||||||
echo "No IPv6 address found for $COLLABORA_HOST."
|
echo "No IPv6 address found for $COLLABORA_HOST."
|
||||||
fi
|
fi
|
||||||
if [ -n "$COLLABORA_ALLOW_LIST" ]; then
|
if [ -n "$COLLABORA_ALLOW_LIST" ]; then
|
||||||
PRIVATE_IP_RANGES='127.0.0.1/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,fd00::/8,::1'
|
PRIVATE_IP_RANGES='127.0.0.0/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,100.64.0.0/10,fd00::/8,::1/128'
|
||||||
if ! echo "$COLLABORA_ALLOW_LIST" | grep -q "$PRIVATE_IP_RANGES"; then
|
if ! echo "$COLLABORA_ALLOW_LIST" | grep -q "$PRIVATE_IP_RANGES"; then
|
||||||
COLLABORA_ALLOW_LIST+=",$PRIVATE_IP_RANGES"
|
COLLABORA_ALLOW_LIST+=",$PRIVATE_IP_RANGES"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1108,7 +1108,7 @@ Enter your domain in the AIO interface that you've used in the reverse proxy con
|
||||||
### 5. Optional: Configure AIO for reverse proxies that connect to nextcloud using an ip-address and not localhost nor 127.0.0.1
|
### 5. Optional: Configure AIO for reverse proxies that connect to nextcloud using an ip-address and not localhost nor 127.0.0.1
|
||||||
If your reverse proxy connects to nextcloud using an ip-address and not localhost or 127.0.0.1<sup>*</sup> you must make the following configuration changes
|
If your reverse proxy connects to nextcloud using an ip-address and not localhost or 127.0.0.1<sup>*</sup> you must make the following configuration changes
|
||||||
|
|
||||||
<small>*: The IP address it uses to connect to AIO is not in a private IP range such as these: `127.0.0.1/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,fd00::/8,::1`</small>
|
<small>*: The IP address it uses to connect to AIO is not in a private IP range such as these: `127.0.0.0/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,100.64.0.0/10,fd00::/8,::1/128`</small>
|
||||||
|
|
||||||
#### Nextcloud trusted proxies
|
#### Nextcloud trusted proxies
|
||||||
Add the IP it uses connect to AIO to the Nextcloud trusted_proxies like this:
|
Add the IP it uses connect to AIO to the Nextcloud trusted_proxies like this:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue