From b8c5290cfb72d7a71023bd5e1476597f440f5931 Mon Sep 17 00:00:00 2001 From: SkyfaR Date: Sun, 23 Sep 2018 15:13:40 +0000 Subject: [PATCH] small Nginx rewrite fixes without this fix, the rewrites will not work --- nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index 923e009..9918218 100644 --- a/nginx.conf +++ b/nginx.conf @@ -52,12 +52,12 @@ rewrite ^/notifications/?$ /notifications.php break; rewrite ^/whotofollow/?$ /who_to_follow.php break; # Direct -rewrite ^/direct/?$ direct.php break; +rewrite ^/direct/?$ /direct.php break; # Lists -rewrite ^/lists/?$ lists.php break; -rewrite ^/lists/(\d+)/?$ lists_view.php?id=$1 break; -rewrite ^/lists/(\d+)/add/?$ lists_add.php?id=$1 break; +rewrite ^/lists/?$ /lists.php break; +rewrite ^/lists/(\d+)/?$ /lists_view.php?id=$1 break; +rewrite ^/lists/(\d+)/add/?$ /lists_add.php?id=$1 break; # Search rewrite ^/search/?$ /search_hash_tag.php break;