Answer the question
In order to leave comments, you need to log in
2 sites with different availability in nginx.conf?
Good afternoon.
Please suggest how to solve the following question:
There is the following piece of nginx.conf config
include sites-enabled/*.conf;
include include/upstreams.conf;
include include/custom_params.conf;
And there are 2 sites.
The first one should be accessible only from the addresses specified in custom_params.conf
The second one should not have restrictions, but it turns out that the restrictions of the first site also apply to it.
Previously, the server hosted only the first site, so there were such rules.
Tell me, how can I configure ignoring the rules from the custom_params.conf file for the second site?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question