#35 small Nginx rewrite fixes

Merged
nipos merged 1 commits from SkyfaR/master into halcyon-suite/master 6 years ago
1 changed files with 4 additions and 4 deletions
  1. 4 4
      nginx.conf

+ 4 - 4
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;