small Nginx rewrite fixes

without this fix, the rewrites will not work
This commit is contained in:
SkyfaR 2018-09-23 15:13:40 +00:00
parent b81a0c6109
commit b8c5290cfb
1 changed files with 4 additions and 4 deletions

View File

@ -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;