title: nginx: redirect everything from http to https, except one url-pattern
body: <p>I have a website which should only be reachable over HTTPS except one URL-pattern (because I have on some pages http-iframe's and I would like to avoid security warnings)</p>
  
  <pre><code>E.g. this pages should be redirected to https:
  http://example.com
  http://example.com/a/this-is-an-article
  http://example.com/v/this-is-a-video
  
  This pages should not be redirected to https (or should be redirected form https to http)
  http://example.com/l/page-with-unsafe-iframe
  http://example.com/l/other-page-with-unsafe-iframe
  </code></pre>