瀏覽代碼

Inline docs: Update nginx rewrite rules to match .htaccess

nginx's rewrite rules don't have to match `picocms/Pico`'s `.htaccess`, but `picocms/pico-composer`'s `.htaccess` - because basically all installations of Pico 2.0 and later use `picocms/pico-composer`'s frame.
Daniel Rudolf 7 年之前
父節點
當前提交
25bfa289cf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      content-sample/index.md

+ 1 - 1
content-sample/index.md

@@ -293,7 +293,7 @@ you need for Pico. Nginx is a very extensive subject. If you have any trouble,
 please read through our [Nginx configuration docs][NginxConfig].
 
 ```
-location ~ ^/pico/((config|content|content-sample|lib|vendor|CHANGELOG\.md|composer\.(json|lock))(/|$)|(.+/)?\.(?!well-known(/|$))) {
+location ~ ^/pico/((config|content|vendor|composer\.(json|lock|phar))(/|$)|(.+/)?\.(?!well-known(/|$))) {
     try_files /pico/index.php$is_args$args;
 }