Answer the question
In order to leave comments, you need to log in
How to view nginx config output (with all includes)?
Subject. How to see the configuration that is obtained at the output with all the inclusions?
Answer the question
In order to leave comments, you need to log in
As far as I know, there is no regular tool, but you can write your own script that will insert the entire text of the corresponding include into the config instead of include and then display the entire sheet.
Will output everything to a file, including includes and expand them:
nginx -T > ~/all_nginx.conf
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question