title: How to set X-Frame-Options Allow-From in nginx correctly
body: <p>Im trying to set the ALLOWED-FROM in Nginx but all settings I tried so far resulted in the following Chrome error:
  <code>Invalid 'X-Frame-Options' header encountered when loading 'https://domain.com/#/register': 'ALLOW-FROM domain.com' is not a recognized directive. The header will be ignored.</code></p>
  
  <p>This options I tried are those: (tried also with FQDN with <code>https://</code> prefix)</p>
  
  <pre><code>  add_header X-Frame-Options "Allow-From domain.com"; 
    add_header X-Frame-Options "ALLOW-FROM domain.com"; 
    add_header X-Frame-Options "ALLOW-FROM: domain.com";
    add_header X-Frame-Options "Allow-From: domain.com";
    add_header X-Frame-Options ALLOW-FROM "domain.com";
    add_header X-Frame-Options ALLOW-FROM domain.com;
  </code></pre>