How can you use regular expression to do this:
preprod.*.company.com > root to /home/preprod_folder
*.company.com > root to /home/prod_folder
I know that to match *.company.com I will create:
server_name *.company.com
But what about for a regular expression that match before *.company.com, this rule preprod.allsubdomains.company.com
preprod.*.company.com
is not working, and that's normal.
Could you help me please?
Thanks.