title: nginx set invalid number of arguments in "set" directive
body: <p>I'm using the set directive as described in the nginx doc but I keep getting this error: </p>
  
  <pre><code>nginx_1     | 2016/09/13 15:06:08 [emerg] 8#8: invalid number of arguments in "set" directive in /etc/nginx/conf.d/default.conf:9
  nginx_1     | nginx: [emerg] invalid number of arguments in "set" directive in /etc/nginx/conf.d/default.conf:9
  </code></pre>
  
  <p>default.conf :</p>
  
  <pre><code>server {
      set $dn "foo.dnsalias.net";
      ...
  }
  </code></pre>
  
  <p>I've tried both with and without quotes, with no change.</p>
  
  <p>I'm using nginx version 1.10.1</p>
  
  <p>Does anyone know what the issue is?</p>