nginx – running but not working

today my nginx doesn’t worked/started. It was running but not working.

nginx -t said that the configs were ok but in netstat the port 80 and 443 doesn’t appear.

Solution:

I restored the complete nginx folder from a backup and rsync/scp didn’t copy the symlinks.

So the sites-enabled folder was empty and i had to recreate all of the symlinks. After a restart it worked fine.

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.