Skip to content

Commit

Permalink
Fix nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolashohm committed Oct 28, 2015
1 parent 1055ecf commit 452e1b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 452e1b3

Please sign in to comment.