guldkage / Pterodactyl-Installer

An easy script to install and delete Pterodactyl. It could not be easier!
GNU General Public License v3.0
72 stars 35 forks source link

Doesnt Configure Nginx Correctly #6

Closed jordanj334 closed 1 year ago

jordanj334 commented 1 year ago

Nginx doesn't get configured, doesn't set server_name or add the following to the config to make SSL work

ssl_certificate /etc/letsencrypt/live//fullchain.pem; ssl_certificate_key /etc/letsencrypt/live//privkey.pem;

Not sure if that's intended or not other than that great installer.

guldkage commented 1 year ago

Hey, Sounds mysterious, are there any other errors when you ran the script? The script would very much like to install NGINX correctly. It may also be that you installed without SSL, and perhaps the FQDN was not entered correctly.

The problem must of course be solved :D

jordanj334 commented 1 year ago

didn't get any other errors and I did make the choice during the installation to use SSL / it when through the process of making an SSL certificate and everything.

and I'm fairly sure I entered the right FRQN since once I changed the config from it just saying Servername ; and put my FQDN in and added the 2 lines for the SSL it worked perfectly

guldkage commented 1 year ago

I did a test installation yesterday where everything worked fine. If SSL is not included in the NGINX config, then it is because you have selected the panel without SSL.