Merge pull request #830 from nextcloud/enh/828/trusted-proxies

fix trusted_proxies for caddy in case of a reverse proxy situation
This commit is contained in:
Simon L 2022-06-22 14:27:57 +02:00 committed by GitHub
commit dc4e251b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 8 deletions

View file

@ -307,6 +307,7 @@ else
php /var/www/html/occ app:update notify_push
fi
php /var/www/html/occ config:system:set trusted_proxies 0 --value="127.0.0.1"
php /var/www/html/occ config:system:set trusted_proxies 1 --value="::1"
php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push"
# Collabora