#Setup Pterodactyl behind NGINX Proxy Manager

2 messages · Page 1 of 1 (latest)

tulip marten
#

Hello!

It's been a long time I wanted to have a stable and logical installation on my VPS.
I'm using Nginx Proxy Manager, and tried installing pterodactyl behind.
I tried using an Nginx running on a different port to run my Pterodactyl on, but ended up having bad gateway errors.
I've looked up on google, never found anybody that did that. Only found this:
https://gitlab.com/pterostuff/docs/-/issues/40
(I left a comment on it for someone to reply and make the guide or help me out also)

I'd really like someone to make a guide on how to do this, and/or someone to help me making this work, as I ended up having a very messy installation that I can't even call a reverse proxy anynore:
Cloudflare -> Nginx Proxy Manager (different VM and IP) -> My VPS:port
That isn't really a reverse proxy anymore as I just redirect people on a certain port that is open on my VPS.

What I tried:
Nginx proxy manager running on port 80 and 443,
Nginx running on port 82 with the pterodactyl config
Nginx proxy manager redirecting pte.classydev.fr and node-01.classydev.fr to nginx
Nginx redirecting to the rerspective ports and pterodactyl.

Can someone help me making this work?
I'd like also to not mess up for too long my current installation as I have plenty of projects running on it.

sleek orioleBOT
#

Please explain the issue you're experiencing in as much detail as possible. Preferably with error messages in a text format or paste link to logs. Nobody can assist you without information that helps to understand the issue. Help us help you. Messages such as "doesn't work" or "i need help" will most likely be ignored.