Answer the question
In order to leave comments, you need to log in
How to make a regular expression for nginx?
Hello. There was a need to start up all sites of one subdomain on a separate config. Now I have a universal config: pastebin.com/HyvcZ6by
I need all domains to be further processed by this config (there can be both 2nd and 3rd level domains), but site.ru subdomains are processed differently. I know that I need to create another server directive, but I can't figure out what regular expression should be in it..
Thank you!
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