> You can do
>
> nginx -T > mynginx.conf
>
> to have it in single file
This doesn't produce a valid (immediately usable) nginx configuration though, just concats/dumps out all the various configuration files referenced from the main config.
p.s. maybe it would make a sense to have a command line argument to export actually parsed (replace all the includes with actual file content) configuration.
rr
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx