Weird Nginx Error???
from selfhostingperson@sh.itjust.works to selfhosted@lemmy.world on 26 Feb 16:00
https://sh.itjust.works/post/33467342
from selfhostingperson@sh.itjust.works to selfhosted@lemmy.world on 26 Feb 16:00
https://sh.itjust.works/post/33467342
Good morning/night/evening/the time for you right now, ever since I set up Snikket, my web pages other than Snikket’s have been displaying nginx 404 not found errors. I can access the website locally but when I go to the domain name it pops up the error. When I go to localhost:443 it also shows the nginx not found 404 thing so I think that’s where my other website pages are getting the error from, but I never port fowarded port 443, at least I don’t think so. I use the standard nginx reverse proxy for Snikket, and Nginx Proxy Manager for my other web pages. I really hope someone can help me. Thank you very much in advance.
threaded - newest
Post more logs/configs
What kind of logs should I post?
find out which process is really binding to 443 if you don’t recognize that port as being used
I don’t know how to even interpret this, I know it says nginx but which nginx?? I got like 4 nginx web servers running
You’ll have to look by pid or command line.
you do have an nginx process with PID
2511847
using the portget more info with
ps aux | grep 2511847
or kill it, if you need to spawn a new one with the right configuration
apparently it’s my native nginx… wtf. I used
And the websites that had the nginx error went down. I don’t know how this could even happen? My containers use their own nginxes??? Maybe the mix of native nginx and docker nginx is messing everything up, if I can’t find a solution I’m probably gonna nuke my native nginx and use docker nginx for all of my nginx needs
The ones from the applications which should do the proxying and serving.
BTW: you’re using both Nginx Proxy Manager and Nginx in parallel? Native installations, docker, something else?
How are they configured?
nginx proxy manager’s in a docker container reverse proxying my nginx docker containers, and native nginx is reverse proxying snikket container because nginx proxy manager doesn’t go well with snikket.
Here’s the nginx config for my snikket.
Here’s the docker-compose for one of the sites i’m running that’s been affected by the weird nginx error.
Please tell me if there’s any more logs I need to provide.
So your native nginx process covers ports 80 and 443. which ports does your NPM use? Are you trying to use the same ports? Because that’ll most likely clash.
I mean I got them portmapped to other ports so… I dunno