[{"data":1,"prerenderedAt":356},["ShallowReactive",2],{"navigation":3,"\u002Fblog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager":173,"\u002Fblog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager-surround":351},[4],{"title":5,"path":6,"stem":7,"children":8,"page":172},"Blog","\u002Fblog","blog",[9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169],{"title":10,"path":11,"stem":12},"Proxmox Remove Node from Cluster","\u002Fblog\u002Fproxmox-remove-node-from-cluster","blog\u002FProxmox-Remove-Node-from-Cluster",{"title":14,"path":15,"stem":16},"Proxmox Can't Live Migrate without with local disks option","\u002Fblog\u002Fproxmox-cant-live-migrate-without-local-disk-option","blog\u002FProxmox-cant-live-migrate-without-local-disk-option",{"title":18,"path":19,"stem":20},"Sharing large files with Send Firefox for free!","\u002Fblog\u002Fsharing-large-files-with-send-firefox","blog\u002FSharing-large-files-with-send-firefox",{"title":22,"path":23,"stem":24},"Windows Tips and My Favorite Password Manager","\u002Fblog\u002Fwindows-tips-and-my-favorite-password-manager","blog\u002FWindows-Tips-and-My-Favorite-Password-Manager",{"title":26,"path":27,"stem":28},"Add Docker Capabilities to TrueNAS Core","\u002Fblog\u002Fadd-docker-capabilities-to-truenas-core","blog\u002Fadd-docker-capabilities-to-truenas-core",{"title":30,"path":31,"stem":32},"Backup Office 365 OneDrive or SharePoint to TrueNAS","\u002Fblog\u002Fbackup-office-365-onedrive-or-sharepoint-to-truenas","blog\u002Fbackup-office-365-onedrive-or-sharepoint-to-truenas",{"title":34,"path":35,"stem":36},"Backup TrueNAS to the Cloud with Wasabi (S3 Compatible Storage)","\u002Fblog\u002Fbackup-truenas-to-the-cloud-with-wasabi-s3-compatible-storage","blog\u002Fbackup-truenas-to-the-cloud-with-wasabi-s3-compatible-storage",{"title":38,"path":39,"stem":40},"Best Budget Security System 2019","\u002Fblog\u002Fbest-budget-security-system-2019","blog\u002Fbest-budget-security-system-2019",{"title":42,"path":43,"stem":44},"Can AI Be a System Administrator? Fixing a Stuck Windows 11 Upgrade","\u002Fblog\u002Fcan-ai-be-a-system-administrator-fixing-a-stuck-windows-11-upgrade","blog\u002Fcan-ai-be-a-system-administrator-fixing-a-stuck-windows-11-upgrade",{"title":46,"path":47,"stem":48},"Create Windows 10 Virtual Machine on Proxmox","\u002Fblog\u002Fcreate-windows-10-virtual-machine-on-proxmox","blog\u002Fcreate-windows-10-virtual-machine-on-proxmox",{"title":50,"path":51,"stem":52},"Enable Super Fast Search on Server","\u002Fblog\u002Fenable-super-fast-search-on-server","blog\u002Fenable-super-fast-search-on-server",{"title":54,"path":55,"stem":56},"Essential Waterproof Beach Tech","\u002Fblog\u002Fessential-waterproof-beach-tech","blog\u002Fessential-waterproof-beach-tech",{"title":58,"path":59,"stem":60},">-","\u002Fblog\u002Ffree-remote-desktop-access-with-google-chrome-remote-desktop","blog\u002Ffree-remote-desktop-access-with-google-chrome-remote-desktop",{"title":62,"path":63,"stem":64},"FreeNAS can Host Virtual Machines: Using the bhyve Hypervisor from the Web GUI","\u002Fblog\u002Ffreenas-can-host-virtual-machines-using-the-bhyve-hypervisor-from-the-web-gui","blog\u002Ffreenas-can-host-virtual-machines-using-the-bhyve-hypervisor-from-the-web-gui",{"title":66,"path":67,"stem":68},"HAProxy 2.4 Install and Basic Setup On Ubuntu 20.04 LTS","\u002Fblog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts","blog\u002Fhaproxy-2-4-install-and-basic-setup-on-ubuntu-20-04-lts",{"title":70,"path":71,"stem":72},"How to backup virtual machines to a NAS using NFS","\u002Fblog\u002Fhow-to-backup-virtual-machines-to-a-nas-using-nfs-1","blog\u002Fhow-to-backup-virtual-machines-to-a-nas-using-nfs-1",{"title":74,"path":75,"stem":76},"How to Enable Clipboard History in Windows 10","\u002Fblog\u002Fhow-to-enable-clipboard-history-in-windows-10","blog\u002Fhow-to-enable-clipboard-history-in-windows-10",{"title":78,"path":79,"stem":80},"How To Enable Screensavers On Windows 10","\u002Fblog\u002Fhow-to-enable-screensavers-on-windows-10","blog\u002Fhow-to-enable-screensavers-on-windows-10",{"title":82,"path":83,"stem":84},"How To get started blogging or build a website for free","\u002Fblog\u002Fhow-to-get-started-blogging-or-build-a-website-for-free","blog\u002Fhow-to-get-started-blogging-or-build-a-website-for-free",{"title":86,"path":87,"stem":88},"How to Install OPNSense Firewall?","\u002Fblog\u002Fhow-to-install-opnsense","blog\u002Fhow-to-install-OPNSense",{"title":90,"path":91,"stem":92},"How to Install FreeNAS from ISO","\u002Fblog\u002Fhow-to-install-freenas-from-iso","blog\u002Fhow-to-install-freenas-from-iso",{"title":94,"path":95,"stem":96},"How to Manage Windows Defender Antivirus with PowerShell","\u002Fblog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell","blog\u002Fhow-to-manage-windows-defender-antivirus-with-powershell",{"title":98,"path":99,"stem":100},"How to Schedule Backups with Proxmox on a Local Directory","\u002Fblog\u002Fhow-to-schedule-backups-with-proxmox-on-a-local-directory","blog\u002Fhow-to-schedule-backups-with-proxmox-on-a-local-directory",{"title":102,"path":103,"stem":104},"Installing Docker and Portainer on Proxmox","\u002Fblog\u002Finstalling-docker-and-portainer-on-proxmox","blog\u002Finstalling-docker-and-portainer-on-proxmox",{"title":106,"path":107,"stem":108},"LAMP Stack Install Ubuntu 18 04: Linux Apache MySQL and PHP","\u002Fblog\u002Flamp-stack-install-ubuntu-18-04-linux-apache-mysql-and-php","blog\u002Flamp-stack-install-ubuntu-18-04-linux-apache-mysql-and-php",{"title":110,"path":111,"stem":112},"Microsoft Excel Keyboard Shortcuts","\u002Fblog\u002Fmicrosoft-excel-keyboard-shortcuts","blog\u002Fmicrosoft-excel-keyboard-shortcuts",{"title":114,"path":115,"stem":116},"Microsoft Word Keyboard Shortcuts","\u002Fblog\u002Fmicrosoft-word-keyboard-shortcuts","blog\u002Fmicrosoft-word-keyboard-shortcuts",{"title":118,"path":119,"stem":120},"Multiple Proxmox Hosts With Duplicate Virtual Machine IDs on Shared NFS Storage","\u002Fblog\u002Fmultiple-proxmox-hosts-with-duplicate-virtual-machine-ids-on-shared-nfs-storage","blog\u002Fmultiple-proxmox-hosts-with-duplicate-virtual-machine-ids-on-shared-nfs-storage",{"title":122,"path":123,"stem":124},"OPNSense Setup Multi-LAN, DHCP Static Assignment and More (Part 3)","\u002Fblog\u002Fopnsense-setup-multi-lan-dhcp-static-assignment-and-more-part-3","blog\u002Fopnsense-setup-multi-lan-dhcp-static-assignment-and-more-part-3",{"title":126,"path":127,"stem":128},"Remote Gaming and Video editing with Proxmox GPU passthrough","\u002Fblog\u002Fremote-gaming-and-video-editing-with-proxmox-gpu-passthrough","blog\u002Fremote-gaming-and-video-editing-with-proxmox-gpu-passthrough",{"title":130,"path":131,"stem":132},"Secure Your Nextcloud with HTTPS hosted on TrueNAS 12 Core with Nginx","\u002Fblog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager","blog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager",{"title":134,"path":135,"stem":136},"Setup NextCloud on Ubuntu 18.04 LTS with Apache2, MariaDB and PHP","\u002Fblog\u002Fsetup-nextcloud-on-ubuntu-18-04-lts-with-apache2-mariadb-and-php","blog\u002Fsetup-nextcloud-on-ubuntu-18-04-lts-with-apache2-mariadb-and-php",{"title":138,"path":139,"stem":140},"Setup Wizard and How to Backup OPNSense Firewall (Part 2)","\u002Fblog\u002Fsetup-wizard-and-how-to-backup-opnsense-firewall-part-2","blog\u002Fsetup-wizard-and-how-to-backup-opnsense-firewall-part-2",{"title":142,"path":143,"stem":144},"TrueNAS Nginx Proxy Jail with Let's Encrypt for your NextCloud","\u002Fblog\u002Ftruenas-nginx-proxy-jail-with-lets-encrypt-for-your-nextcloud","blog\u002Ftruenas-nginx-proxy-jail-with-lets-encrypt-for-your-nextcloud",{"title":146,"path":147,"stem":148},"Upgrading FreeNAS 11.3 to TrueNAS 12 Release","\u002Fblog\u002Fupgrading-freenas-11-3-to-truenas-12-release","blog\u002Fupgrading-freenas-11-3-to-truenas-12-release",{"title":150,"path":151,"stem":152},"What Does Secure Website Mean And How To Tell?","\u002Fblog\u002Fwhat-does-secure-website-mean-and-how-to-tell","blog\u002Fwhat-does-secure-website-mean-and-how-to-tell",{"title":154,"path":155,"stem":156},"Windows 10 Quick Tip #1: Customize Your Taskbar","\u002Fblog\u002Fwindows-10-quick-tip-1-customize-your-taskbar","blog\u002Fwindows-10-quick-tip-1-customize-your-taskbar",{"title":158,"path":159,"stem":160},"Windows 10 QuickTip #2 Free Up Disk Drive Space by enabling Storage Sense","\u002Fblog\u002Fwindows-10-quicktip-2-free-up-disk-drive-space-by-enabling-storage-sense","blog\u002Fwindows-10-quicktip-2-free-up-disk-drive-space-by-enabling-storage-sense",{"title":162,"path":163,"stem":164},"Windows 10 QuickTip #4 Backup Your Windows PC for Free with OneDrive","\u002Fblog\u002Fwindows-10-quicktip-4-backup-your-windows-pc-for-free-with-onedrive","blog\u002Fwindows-10-quicktip-4-backup-your-windows-pc-for-free-with-onedrive",{"title":166,"path":167,"stem":168},"Windows 10 QuickTip #5 Zoom in and Zoom out on Your Web Browser","\u002Fblog\u002Fwindows-10-quicktip-5-zoom-in-and-zoom-out-on-your-web-browser","blog\u002Fwindows-10-quicktip-5-zoom-in-and-zoom-out-on-your-web-browser",{"title":58,"path":170,"stem":171},"\u002Fblog\u002Fwindows-10-quicktip-backup-your-windows-pc-for-free-with-google-backup-and-sync","blog\u002Fwindows-10-quicktip-backup-your-windows-pc-for-free-with-google-backup-and-sync",false,{"id":174,"title":130,"author":175,"body":179,"date":344,"description":345,"extension":346,"image":347,"meta":348,"minRead":342,"navigation":305,"path":131,"seo":349,"stem":132,"__hash__":350},"blog\u002Fblog\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager.md",{"name":176,"avatar":177},"Kevin Stevenson",{"src":178,"alt":176},"\u002Favatar.png",{"type":180,"value":181,"toc":338},"minimark",[182,186,194,197,204,207,212,215,225,230,233,236,243,246,249,252,257,260,266,269,274,277,280,285,288,291,294,299,306,310,317,324,327],[183,184,185],"p",{},"First pull up your TrueNAS, from our last video we created a virtual machine with ubuntu and docker installed on it so if you missed that video go check it out:",[183,187,188],{},[189,190,191],"a",{"href":191,"rel":192},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=hxSAGY5zRwQ&ab_channel=PhasedLogixITServices",[193],"nofollow",[183,195,196],{},"Go to plugins and install Nextcloud, it should only take a few seconds to install.",[183,198,199],{},[200,201],"img",{"alt":202,"src":203},"","\u002Fimages\u002Fblog\u002Fnextcloud-install.png",[183,205,206],{},"Now that it is installed click  on post install notes which will give your database info including the user and password. You can now test the login information for your nextcloud. You should be able to see the files stored.",[183,208,209],{},[200,210],{"alt":202,"src":211},"\u002Fimages\u002Fblog\u002Fnextcloud-notes.png",[183,213,214],{},"Now we will begin some prep, swap over to portainer. Go to stacks and then click add stack and paste this into it.",[216,217,222],"pre",{"className":218,"code":220,"language":221},[219],"language-text","version: '2'\nservices:\n  app:\n    image: 'jc21\u002Fnginx-proxy-manager:latest'\n    ports:\n      - '80:80'\n      - '81:81'\n      - '443:443'\n    environment:\n      DB_MYSQL_HOST: \"db\"\n      DB_MYSQL_PORT: 3306\n      DB_MYSQL_USER: \"npm\"\n      DB_MYSQL_PASSWORD: \"npm\"\n      DB_MYSQL_NAME: \"npm\"\n    volumes:\n      - .\u002Fdata:\u002Fdata\n      - .\u002Fletsencrypt:\u002Fetc\u002Fletsencrypt\n  db:\n    image: 'jc21\u002Fmariadb-aria:10.4'\n    environment:\n      MYSQL_ROOT_PASSWORD: 'npm'\n      MYSQL_DATABASE: 'npm'\n      MYSQL_USER: 'npm'\n      MYSQL_PASSWORD: 'npm'\n    volumes:\n      - .\u002Fdata\u002Fmysql:\u002Fvar\u002Flib\u002Fmysql\n","text",[223,224,220],"code",{"__ignoreMap":202},[183,226,227],{},[200,228],{"alt":202,"src":229},"\u002Fimages\u002Fblog\u002Fportainer-nginx.png",[183,231,232],{},"You will want to change the info under db when you are not doing it for test purposes. After you are finished click deploy. Now if you go over to the management stack and input the ip address with the port it will take you to your nginx login page.",[183,234,235],{},"The default admin user is:",[183,237,238,239],{},"Email: ",[189,240,242],{"href":241},"mailto:admin@example.com","admin@example.com",[183,244,245],{},"Password: changeme",[183,247,248],{},"First thing it will do is have you update the user. Make sure to make it super secure, and now we have our basic proxy manager setup.",[183,250,251],{},"Go back to your TrueNAS, go to jails and you will find a nextcloud jail that was created.",[183,253,254],{},[200,255],{"alt":202,"src":256},"\u002Fimages\u002Fblog\u002Fnextcloudjail.png",[183,258,259],{},"Click on the jail and click on the shell. You could ssh into these but I find it easier this way. I am not a fan of vi so we are going to install nano and opening the config with nano:",[216,261,264],{"className":262,"code":263,"language":221},[219],"pkg update\n\npkg install nano\n\ncd \u002Fusr\u002Flocal\u002Fwww\u002Fnextcloud\u002Fconfig\u002F\n\nnano config.php\n",[223,265,263],{"__ignoreMap":202},[183,267,268],{},"First thing we need to trust a domain which I have created a domain and add it in as following in the picture. Next we will add a trusted proxy which is also included in the picture which the ip address is the same as your proxy manager. Ctrl + X will exit nano and ask if you want to save, yes.",[183,270,271],{},[200,272],{"alt":202,"src":273},"\u002Fimages\u002Fblog\u002Feditingconfigproxy.png",[183,275,276],{},"Go back to your proxy manager, click on proxyhosts. There will be no host so click add proxy host. Type your domain name in, next you will want to grab your nextcloud ip and add your nextcloud port. Select Websockets Support.",[183,278,279],{},"Next select SSL, under SSL Certificate select Request a new SSL Certificate. Select HTTP\u002F2 Support, Force SSL. Set email address and agree to ToS and Save. If you are going to run this long term then you will want to enable HSTS. Then click on your host, you should be at the login screen after.",[183,281,282],{},[200,283],{"alt":202,"src":284},"\u002Fimages\u002Fblog\u002Fnextcloudmuppet.png",[183,286,287],{},"To get your login you will want to go back to plugins in your TrueNAS, click on the nextcloud-jail. Select Post Install Notes and it will have your user and password. Then you will be finished.",[183,289,290],{},"The important thing now is that you are running your nextcloud instance securely using https with a valid lets encrypt cert.",[183,292,293],{},"If you are having any trouble figuring this out, try to follow my video while you do it for a better visual guidance.",[295,296,298],"h3",{"id":297},"full-video","Full Video",[300,301],"iframe",{"style":302,"src":303,"allow":304,"allowFullScreen":305},"width:100%; aspect-ratio:16\u002F9; border:0; border-radius:0.5rem;","https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FhxSAGY5zRwQ","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",true,[295,307,309],{"id":308},"support-my-work","SUPPORT MY WORK",[183,311,312],{},[189,313,316],{"href":314,"rel":315},"https:\u002F\u002Fwww.buymeacoffee.com\u002Fgetmethegeek",[193],"Buy Me a Coffee â˜•",[183,318,319],{},[189,320,323],{"href":321,"rel":322},"https:\u002F\u002Fphasedlogix.com",[193],"Hire US",[325,326],"hr",{},[183,328,329],{},[330,331,332,333],"em",{},"This Article has been Republished with Permission from ",[189,334,337],{"href":335,"rel":336},"https:\u002F\u002Fphasedlogix.com\u002Fsecure-your-nextcloud-with-https-hosted-on-truenas-12-core-with-nginx-proxy-manager\u002F",[193],"PhasedLogix",{"title":202,"searchDepth":339,"depth":339,"links":340},2,[341,343],{"id":297,"depth":342,"text":298},3,{"id":308,"depth":342,"text":309},"2020-12-17","In this tutorial I show you how to install Nextcloud on TrueNAS 12","md","\u002Fimages\u002Fblog\u002Fsecure-nextcloud-with-nginx-proxy-manager-on-truenas-12.png",{},{"title":130,"description":345},"fE88q5-INmLSKwNAiJcVkPUl1IgpaKXnAvkJhEXQ5CE",[352,354],{"title":126,"path":127,"stem":128,"description":353,"children":-1},"This article will show you how to configure GPU passthrough in Proxmox",{"title":134,"path":135,"stem":136,"description":355,"children":-1},"Installing and configuring nextcloud",1789484071030]