nginx error "conflicting server name" ignored

The Solution to nginx error "conflicting server name" ignored is


I assume that you're running a Linux, and you're using gEdit to edit your files. In the /etc/nginx/sites-enabled, it may have left a temp file e.g. default~ (watch the ~).

Depending on your editor, the file could be named .save or something like it. Just run $ ls -lah to see which files are unintended to be there and remove them (Thanks @Tisch for this).

Delete this file, and it will solve your problem.

~ Answered on 2012-12-23 13:45:53


Most Viewed Questions: