mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
allow to add nextcloud-aio-caddy ip-address to trusted proxies automatically
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
488a77ebdf
commit
1c8e46708f
3 changed files with 9 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ sed -i 's|- ip_binding: |- |' containers.yml
|
|||
sed -i '/AIO_TOKEN/d' containers.yml
|
||||
sed -i '/AIO_URL/d' containers.yml
|
||||
sed -i '/DOCKER_SOCKET_PROXY_ENABLED/d' containers.yml
|
||||
sed -i '/ADDITIONAL_TRUSTED_PROXY/d' containers.yml
|
||||
|
||||
TCP="$(grep -oP '[%A-Z0-9_]+/tcp' containers.yml | sort -u)"
|
||||
mapfile -t TCP <<< "$TCP"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue