Correction : redirection HTTPS pour newevent également.
[lhc/ateliers.git] / etc / nginx / site.d / cyclo-wiki / site.conf
index b7dc723..69b4eb8 100644 (file)
@@ -53,6 +53,15 @@ 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 = "newevent") {
+               return 301 https://$host$request_uri;
+        }
        if ($r = "prefs") {
                return 301 https://$host$request_uri;
         }