Hi guyss
When I want to create another site on nginx and go to that site (https://mefloun.eu), it redirects me to the pterodactyl panel on https://admin.mefloun.eu
Don’t know where the problem may be?
Pterodactyl nginx config: https://pastebin.com/TZTgAjua Another site nginx config: https://pastebin.com/aaffyPj2
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi @plescz40,
Looking at the Nginx configuration files, everything seems in order. I’ve even tested them and can confirm they are working.
The expected result might be different if you haven’t restarted your Nginx service or created the config in a sites-enabled dir in /etc/nginx.
Lastly, it’s possible your browser has chaced thus creating this issue for you.
Hi there,
I just tested the websites and they both seem to be working as expected. Would you mind sharing here with the community how you got this working?
Usually, this could be caused by a few main reasons:
chown
command to change ownership of the files and folders to match the Nginx userRegards, Bobby