Просмотр исходного кода

Update inline user docs to reflect 6465c2b0a99b5262f25083af70b94668c1cac6af

Daniel Rudolf 9 лет назад
Родитель
Сommit
6c4f69c107
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      content-sample/index.md

+ 3 - 3
content-sample/index.md

@@ -284,13 +284,13 @@ still shows no rewritten URLs, force URL rewriting by setting
 `$config['rewrite_url'] = true;` in your `config/config.php`.
 
 If you're using Nginx, you can use the following configuration to enable
-URL rewriting. Don't forget to adjust the path (`/pico`; line `1` and `4`)
+URL rewriting. Don't forget to adjust the path (`/pico/`; line `1` and `3`)
 to match your installation directory. You can then enable URL rewriting by
 setting `$config['rewrite_url'] = true;` in your `config/config.php`.
 
-    location ~ ^/pico(.*) {
+    location /pico/ {
         index index.php;
-        try_files $uri $uri/ /pico/?$1&$args;
+        try_files $uri $uri/ /pico/$is_args$args;
     }
 
 ## Documentation