Skip to content

Configuring SSL

This page explains how to configure Cloudflare Origin SSL for your Pterodactyl Panel using Nginx.
Follow each step carefully.

Step-by-step guide4 steps
  1. Step 1

    The Pterodactyl panel uses an Nginx configuration file. We need to edit this file to point to the Cloudflare Origin Certificate.

    Terminal window
    sudo nano /etc/nginx/sites-enabled/pterodactyl.conf
  2. Step 2

    Inside the file, locate the following lines:

    Terminal window
    ssl_certificate;
    ssl_certificate_key;

    Update them to point to the Cloudflare Origin Certificate and Private Key you created earlier:

    Terminal window
    ssl_certificate /etc/ssl/cf/origin.pem;
    ssl_certificate_key /etc/ssl/cf/origin.key;
  3. Step 3

    After updating the file:

    • Press CTRL + X
    • Press Y to confirm saving
    • Press Enter to write the file
  4. Step 4

    Apply the changes by restarting Nginx:

    Terminal window
    sudo systemctl restart nginx
Next step: Install wings for Pterodactyl

Continue with installing wings so you can make new servers!