title: nginx redirect HTTPS to HTTP
body: <p>How can i redireect from https to http?</p>
  
  <p>i have the code below but it does not seem to work.</p>
  
  <pre><code>server {
          listen 443;
          server_name example.com;
          rewrite ^(.*) http://example.com$1 permanent;
   }
  </code></pre>