#Passing my server panel/server behind a proxy
7 messages · Page 1 of 1 (latest)
@lavish inlet You have to modify the server_name in your web server pterodactyl.conf file. Don't know where to find it? Type the command .webconf and I will provide more instructions.
If you're using a SSL certificate, remember to also change the SSL paths in pterodactyl.conf file to match your new domain and generate a new certificate: https://pterodactyl.io/tutorials/creating_ssl_certificates.html
Next, modify the app_url in the .env file located at /var/www/pterodactyl by typing nano /var/www/pterodactyl/.env. Restart your web server to apply these changes.
Wings config file must be updated to match the new Panel URL. You can do it manually in the config.yml file located at /etc/pterodactyl or overwrite it completely by copying it from the Panel. Go to Nodes -> <your node> -> Configuration to auto-deploy or copy the config file.
Follow above for the ptero side of things
Your proxy is your job to figure out as it's different for every situation
Fuck yeah thank you so much and the proxy is all done just waiting for the ip change
Your server block file would be located by default at /etc/nginx/sites-available/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf depending on what web server you are using.
CentOS paths would be at /etc/nginx/conf.d/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf.
@lavish inlet the prblm is that I wont be using an ssl certificate anymore everything will pass through the proxy which will have its own ssl cert so do i just put the proxies ip ?
do i just put the proxies ip ?
For what part?