Correction : redirection HTTPS pour edit et create également.
[lhc/ateliers.git] / etc / nginx / site.d / cyclo-wiki / site.conf
index b7dc723..1ede379 100644 (file)
@@ -53,6 +53,12 @@ location ~ ^/gitweb($|/) {
 location /cgi/ikiwiki.cgi {
        include /etc/nginx/conf.d/fastcgi.conf;
        set $r "$https$arg_do";
+       if ($r = "create") {
+               return 301 https://$host$request_uri;
+        }
+       if ($r = "edit") {
+               return 301 https://$host$request_uri;
+        }
        if ($r = "prefs") {
                return 301 https://$host$request_uri;
         }