#Getting nginx 500
1 messages · Page 1 of 1 (latest)
Errors that start with 500 are server errors, I would be looking for logs and configuration files for the server
https://pastebin.com/Ztwd7y92 > nginx conf
but this is pretty much the only thing in error.log
2023/06/24 21:19:56 [alert] 45356#45356: aborting
2023/06/24 21:20:07 [alert] 45605#45605: *2 open socket #15 left in connection 3
2023/06/24 21:20:07 [alert] 45605#45605: aborting```
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
have not used nginx myself, so not sure what those alerts mean
are you accessing the site on port 80 or 433 ?
if on 433, you have not configured SSL for encryption and could very well be the problem
it's on 80
comparing your conf with one from pterodactyl nothing seems to be wrong really, unless you have different paths and those need to be updated ?
I could cut out the first server section as you are not using SSL (433) anyways, also to me it looks like it is trying to do a redirect to https URL which is SSL (433), so it redirects to the same place
perhaps you meant to redirect to http (without the 's') so it would land on your non-ssl site
Yeah I think so
try removing the first server section, make sure you visit the site using http instead of https
I can try to repaste it maybe it will work
You're redirecting the https to https... Port 443 is https, 80 is the unsecured http
Also you're requesting an IP address, I'm pretty sure nginx isn't gonna route you to the server you've configured since it has a server name... Been a while since I used nginx
unless you have been poking around in system configuration hosts file and fake a DNS name
Their error page shows they requested the IP address
ah yeah