New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NEXTCLOUD_TRUSTED_DOMAINS only sets first domain in list #1666
Comments
|
Also having the same issue on version: 24.0.1 |
|
Also having this issue ... |
|
For me it doesn't set even the first domain. I set only one. Then went on installation phase and page says "Access through untrusted domain". |
|
same here. All i wanted is an easier upgrade method, through containers and traefik etc... Cheers |
|
And seeing issues from even last year thought this was resolved until now. |
I have the same experience: we regularly install/run the nextcloud docker image as part of a CI run. We set |
|
@LinuxMeow Can confirm the most recent stable docker release 25.0.2 ignores the
@BornToBeRoot mentioned only the first domain was set. Did you do the initial setup with that domain? |
|
@nel0x yes. I think it was that domain. |
|
also having this issue, I don't even see that dev has commented on this issue thread. Is this a won't fix or something? Is there a way to set that value with the occ command? |
|
well for anyone else, this is possible via from their documentation: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#config-commands-label
EDIT TO ADD: This made the original warning in the nextcloud dashboard go away, there is still one about the trusted proxies but it appears to be safe to ignore. |
|
Anyone found another solution to this already? Also having the issue with only 1 domain set |
|
I believe the issue is also visible when at installation, when the container starts for the first time: |
|
This issue took me a couple of hours without any solution. The environment variable NEXTCLOUD_TRUSTED_DOMAINS is useless, it is not populated into the config.php |

Multiple domains in
NEXTCLOUD_TRUSTED_DOMAINSseparated with spaces are ignored.Example:
docker-compose:
config.php
The text was updated successfully, but these errors were encountered: