title: nginx: Remove "Server" response header - not honour what said in doco
body: <p>Nginx version: 1.15.8</p>
  
  <p>According to nginx doc: <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#server_tokens" rel="nofollow noreferrer">http://nginx.org/en/docs/http/ngx_http_core_module.html#server_tokens</a>: </p>
  
  <p>"starting from version 1.9.13 the signature on error pages and the “Server” response header field value can be set explicitly using the string with variables. An empty string disables the emission of the “Server” field."</p>
  
  <p>But when I put in this</p>
  
  <pre><code>server_tokens '';
  </code></pre>
  
  <p>it complains:</p>
  
  <pre><code>nginx: [emerg] invalid value "" 
  </code></pre>
  
  <p>Also tried:</p>
  
  <pre><code>server_tokens "";
  </code></pre>
  
  <pre><code>server_tokens;
  </code></pre>
  
  <p>None of them work. Note that I want to remove the "Server" header completely not just the version which can be done straightforwardly with "server_tokens off;" </p>
  
  <p>Does anyone have it working this way ? Comments &amp; suggestions are welcome.</p>
  
  <p>Thanks,</p>