{"id":3004,"date":"2024-07-19T20:17:49","date_gmt":"2024-07-20T00:17:49","guid":{"rendered":"https:\/\/increasec.com\/?p=3004"},"modified":"2026-03-06T11:03:52","modified_gmt":"2026-03-06T16:03:52","slug":"nextcloud-on-docker-error-untrusted-network","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=3004","title":{"rendered":"Nextcloud + docker error Access Through Untrusted Domain"},"content":{"rendered":"\n<p>ssh into docker host<\/p>\n\n\n\n<p>docker ps <br>to find the name of the container with nextcloud_app replace 7b&#8230; below with this<\/p>\n\n\n\n<p>docker exec -u 33 -it 7bb821cd67ed sh -c &#8220;\/var\/www\/html\/occ config:system:set trusted_domains 1 &#8211;value=bookmarks&#8221;<\/p>\n\n\n\n<p>docker exec -u 33 -it 7bb821cd67ed sh -c &#8220;\/var\/www\/html\/occ config:system:set trusted_domains 2 &#8211;value=bookmarks.yourdomain.com&#8221;<\/p>\n\n\n\n<p>OR<\/p>\n\n\n\n<p>docker exec -u 33 -it 7bb821cd67ed sh -c &#8220;\/var\/www\/html\/occ config:system:set trusted_domains 1 &#8211;value=*&#8221;<\/p>\n\n\n\n<p>value= is NOT the subnet clients are coming from<br>it is what the clients are typing into the address bar, so if the client uses a dns name add that as well, increment the #1 for each additional <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ssh into docker host docker ps to find the name of the container with nextcloud_app replace 7b&#8230; below with this docker exec -u 33 -it 7bb821cd67ed sh -c &#8220;\/var\/www\/html\/occ config:system:set&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[186,195],"class_list":["post-3004","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-docker","tag-nextcloud"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/3004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3004"}],"version-history":[{"count":5,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/3004\/revisions"}],"predecessor-version":[{"id":4112,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/3004\/revisions\/4112"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}