#35 small Nginx rewrite fixes

已合併
nipos 6 年之前 將 1 次代碼提交從 SkyfaR/master合併至 halcyon-suite/master
共有 1 個文件被更改,包括 4 次插入4 次删除
  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;