{"id":375,"date":"2022-07-09T18:56:02","date_gmt":"2022-07-09T18:56:02","guid":{"rendered":"https:\/\/randomlinuxnotes.d13.com\/?p=375"},"modified":"2022-07-09T18:56:02","modified_gmt":"2022-07-09T18:56:02","slug":"control-of-domains-associated-with-nextcloud-snap","status":"publish","type":"post","link":"https:\/\/randomlinuxnotes.d13.com\/?p=375","title":{"rendered":"control of domain(s) associated with nextcloud snap"},"content":{"rendered":"<p>associate domain names with your nextcloud snap<\/p>\n<pre>$ nextcloud.occ config:system:set trusted_domains 1 \\\n--value=nextcloud.foo.bar\n$ nextcloud.occ config:system:set trusted_domains 2 \\\n--value=192.168.1.11\n<\/pre>\n<p>and then get new certs from letsencrypt<\/p>\n<pre>\n$ nextcloud.enable-https lets-encrypt\n<\/pre>\n<p>from:<br \/>\nhttps:\/\/medium.com\/@dbclin\/administrating-nextcloud-as-a-snap-4eb43ca6d095<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>associate domain names with your nextcloud snap $ nextcloud.occ config:system:set trusted_domains 1 \\ &#8211;value=nextcloud.foo.bar $ nextcloud.occ config:system:set trusted_domains 2 \\ &#8211;value=192.168.1.11 and then get new certs from letsencrypt $ nextcloud.enable-https lets-encrypt from: https:\/\/medium.com\/@dbclin\/administrating-nextcloud-as-a-snap-4eb43ca6d095<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-rln"],"_links":{"self":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":0,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}