title: NGINX return 405 Not Allowed with POST method
body: <p>I have this default.conf:</p>
  
  <pre><code>server {
          listen  443 ssl;
          root /etc/nginx/json/;
          server_name    myserver.com;
          ssl_certificate /etc/ssl/certs/server.crt;
          ssl_certificate_key     /etc/ssl/private/server.key;
          ssl_protocols   TLSv1 TLSv1.1 TLSv1.2;
          ssl_ciphers     HIGH:!aNULL:!MD5;
          location /platform/enabler/iam/token/generate/1.0.0
          {
                  alias  /etc/nginx/json/generateToken.json;
          } }
  </code></pre>
  
  <p>calling the API with GET method the response is correct.
  calling the API with POST method the response is:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;title&gt;405 Not Allowed&lt;/title&gt;&lt;/head&gt;
  &lt;body bgcolor="white"&gt;
  &lt;center&gt;&lt;h1&gt;405 Not Allowed&lt;/h1&gt;&lt;/center&gt;
  &lt;hr&gt;&lt;center&gt;nginx/1.14.2&lt;/center&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Please, could you help me?</p>