<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#999999">
    Dear all,<br>
    <br>
    I'm preparing a nginx configuration for Dokuwiki and it all works
    except the following feature:<br>
    <br>
    If a user logs in the protocol force-switches to https and back to
    plain http after the login. So far, this has been realised with the
    apache2 rewrite rules which I stole from [1].<br>
    <br>
    Can anybody, who is familiar with nginx rewrite rules translate
    these apache2 rules to nginx? I'm sure many users would benefit from
    this. Thank you very much in advance. I hope this is even possible
    with nginx :S<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="http://www.dokuwiki.org/tips:httpslogin?s">http://www.dokuwiki.org/tips:httpslogin?s</a>[]=ssl&amp;s[]=rewrite
    <br>
    <br>
  </body>
</html>