Answer the question
In order to leave comments, you need to log in
nginx. Is it possible to include all *.conf from a folder ignoring one or more configs?
Good afternoon.
The config is specified to include configuration files from the corresponding folder
include /etc/nginx/special-conf/*.conf;
This folder contains the sipx.conf config. It does not need to be turned on, but it should remain in place.
Is it possible to somehow ignore it when importing?
thanks in advance
Answer the question
In order to leave comments, you need to log in
Create the directory /etc/nginx/special-conf-enabled, specify in the main nginx config - take configs from this directory and make the necessary symlinks from /etc/nginx/special-conf to this directory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question