title: Nginx Config - Use a Variable for the domain name
body: <p>I have the following Nginx Block of code. Actually I have block of code around 50 time for different sites. </p>
  
  <p>I wanted to see if I could combine it into one block of code. You will see test.dating in the code 5 times. Is there a way to replace the domain name 'test.dating' with a variable?</p>
  
  <p>www.thai.dating</p>
  
  <p>Just want to reduce the number of server blocks.</p>
  
  <p>Cheers
  Adam</p>