SSL requirements
- A domain name
- SSH access
- sudo privileges
Installing dependencies
:::info This tutorial will use Ubuntu Jammy 22.04 LTS as the operating system, and Cloudflare as the DNS provider. ::: To install the dependencies, you will need to run the following commands:Adding a domain name
For this, we will want to go to Cloudflare, and create an A record for our domain with the name you want and your server’s Public IP.
Setting nginx virtual host
To enable this, we will need to edit the file/etc/nginx/sites-enabled/pufferpanel.conf, and we will use nano to edit it. To edit it, run the following command:
panel.examplehost.com to your domain name!
Ctrl + Shift + V to paste it.
To save now, you have to press Ctrl + X, and then Y.
Now you’ll want to restart nginx, to do that, run the following command: