After install latest Nextcloud (v16) with OMV (5) docker, I can complete setup from local network (10.1.x.249:8280).
I edit the config/config.php to add url in âtrusted_domainsâ as follows:
I use the nginx reverse proxy for https access. But I use https://home.***.com:8243 to access my nextcloudďźthe page shows meďźâAccess through untrusted domain namesâ
My system is debian10 and OMV is installed.
Nextcloud is installed as a container
Nginx is automatically installed when omv is installed, so there is no container for nginx
Nextcloudâs IP address is 172.17.0.4ďźcontainerďź , Published Ports: 80=>8280
OMV 's IP address is 10.1.*.249, also is debianâs IP address.
I use 10.1.*.249:8280 can access the nextcloudďźbut use url cannot access ďźit shows me âAccess through untrusted domain namesâ
When I use a domain without port number as a trusted domainsďźthe problem is still
And I also tried to use "" as a trusted domains .
Accessing the url https://home. .com:8243 will be become https://home..com (without port) and the netxtcloud page will not be displayed.
When nginx reverses the nextcloud in the docker, the default IP address that nginx passes to docker is actually the IP address of the reverse proxy.
So matter how you modify the trusted_domains parameter in the nextcloud configuration file (usually nextcloud/config/config.php), nextcloud will tell you that your visiting domain name is not in the trust domain of nextcloud.
First, configure nginx.conf to add http map in the end of http{ }