You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this approach my goal was to easily deploy a stack without needing to modify the config.php file.
Odd behaviour occured since in config.php the trusted_domains array got correctly updated but the trusted_proxies was missing completely.
checking the logs in nextcloud i noticed System config value trusted_domains => 1 set to string my.cloud.com
Where the 1 results from 0 being localhost as default.
Does NEXTCLOUD_TRUSTED_PROXIES fail because it is not declared as an array? YES
NEXTCLOUD_TRUSTED_PROXIES=127.0.0.2,127.0.0.3
worked out perfectly.
BUG? i think so. Probably some parsing error if values are not an array.
referencing: #2224 since it mentions TRUSTED_PROXIES as "edit always allowed" #2209 since trusted_proxies.conf seems to take part in parsing that variable.
Edit: formatting
The text was updated successfully, but these errors were encountered:
feroxib
changed the title
NEXTCLOUD_TRUSTED_PROXIES variable does not update on config.php
NEXTCLOUD_TRUSTED_PROXIES variable does not update on config.php if it is not defined as array.
Oct 31, 2024
I'm not sure how you're checking your config, but make sure to use occ config:list system to see the fully merged config. See Viewing the Nextcloud configuration.
Hi, please close if duplicate.
While setting up a nextcloud:apache via docker-compose.yml i had NEXTCLOUD_TRUSTED_DOMAINS and NEXTCLOUD_TRUSTED_PROXIES set as env variables.
Using this as my docker-compose.yml:
.env
With this approach my goal was to easily deploy a stack without needing to modify the config.php file.
Odd behaviour occured since in config.php the trusted_domains array got correctly updated but the trusted_proxies was missing completely.
checking the logs in nextcloud i noticed
System config value trusted_domains => 1 set to string my.cloud.com
Where the 1 results from 0 being localhost as default.
Does NEXTCLOUD_TRUSTED_PROXIES fail because it is not declared as an array? YES
worked out perfectly.
BUG? i think so. Probably some parsing error if values are not an array.
referencing:
#2224 since it mentions TRUSTED_PROXIES as "edit always allowed"
#2209 since trusted_proxies.conf seems to take part in parsing that variable.
Edit: formatting
The text was updated successfully, but these errors were encountered: