Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

"[emerg]: bind() to 0.0.0.0:80" and relation between 'logs' directory and 'pid' direction (1 reply)

$
0
0
Hello,

I had compiled my Nginx using '.configure', 'make' and 'make install' commands.

nginx.pid file occurs on 'logs' directory as default. If I change set 'pid' directive (e.g. pid sbin/nginx.pid) on my nginx.conf file then I cannot restart Nginx and I get following message at second restart service.

[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)

And if I change the direction as 'pid logs/nginx.pid' everything is perfect!

Would it be possible to change Nginx default settings?

Viewing all articles
Browse latest Browse all 7229


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>