Fix nginx config
authorNicolas Hohm <nickel7152@gmail.com>
Wed, 28 Oct 2015 09:51:31 +0000 (10:51 +0100)
committerNicolas Hohm <nickel7152@gmail.com>
Wed, 28 Oct 2015 09:51:31 +0000 (10:51 +0100)
README.rst

index 0f657fe91cc267f25a19cafaa1539914a6e42713..6916a357f8453c9a8579c2c764c27a546ea8a078 100644 (file)
@@ -366,9 +366,9 @@ If you use nginx, place the following lines into your ``server`` block:
     rewrite ^/([0-9]+)/delete/confirm$ /delete.php?id=$1&confirm=1;
     rewrite ^/([0-9]+)/doap$ /doap.php?id=$1;
     rewrite ^/([0-9]+)/edit$ /edit.php?id=$1;
-    rewrite ^/([0-9]+)/edit/(.+)$ edit.php?id=$1&file=$2
+    rewrite ^/([0-9]+)/edit/(.+)$ /edit.php?id=$1&file=$2;
     rewrite ^/([0-9]+)/embed$ /embed.php?id=$1;
-    rewrite ^/([0-9]+)/embed/(.+)$ embed.php?id=$1&file=$2
+    rewrite ^/([0-9]+)/embed/(.+)$ /embed.php?id=$1&file=$2;
     rewrite ^/([0-9]+)/fork$ /fork.php?id=$1;
     rewrite ^/([0-9]+)/raw/(.+)$ /raw.php?id=$1&file=$2;
     rewrite ^/([0-9]+)/rev/(.+)$ /revision.php?id=$1&rev=$2;