This page explains how to configure Cloudflare Origin SSL for your Pterodactyl Panel using Nginx. Follow each step carefully.
The Pterodactyl panel uses an Nginx configuration file. We need to edit this file to point to the Cloudflare Origin Certificate.
sudo nano /etc/nginx/sites-enabled/pterodactyl.conf
Inside the file, locate the following lines:
ssl_certificate; ssl_certificate_key;
Update them to point to the Cloudflare Origin Certificate and Private Key you created earlier:
ssl_certificate /etc/ssl/cf/origin.pem; ssl_certificate_key /etc/ssl/cf/origin.key;
After updating the file:
CTRL + X
Y
Enter
Apply the changes by restarting Nginx:
sudo systemctl restart nginx
Continue with installing wings so you can make new servers!