This question already has an answer here:
- Dump nginx config from running process? 3 answers
Yesterday I did something quite stupid. I edited a configuration file of my nginx server, throwing away some settings and just after I saved the file I realized I was editing the wrong file. Now I didn't reload the server, so it is still running with the old configuration.
I would like to know if it's possible to show the current configuration the server is running.