nginx custom includes

Started by michaelgo, October 07, 2021, 11:10:13 AM

Previous topic - Next topic
since there's a lot of internal stuff in nginx.conf (if you create number of servers) - what's the best way to put custom includes ? and where to put them?
even better without GUI
thanks

You can always handroll nginx by not using the plugin and write the configuration by hand.


Cheers,
Franco

There are some file includes you can use. But they work by copying the fragment into a special place in the file system.

you can look for the "include" directives in different parts of the /usr/local/etc/nginx.conf