I was fooled today. I searched for the server based on the nginx configuration, but the result was always wrong. Finally, I found that someone modified the configuration but did not restart it. This overwritten the previous configuration, but it has not taken effect yet.
So how to check the configuration in effect?
Updated on 2015-2-13 10:38:15:
Sorry, I didn’t see it clearly before
After some google searching, I found this article which may be useful
Recover lost configuration files from running nginx