Browse Source

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 years ago
parent
commit
25bfa289cf
1 changed files with 1 additions and 1 deletions
  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].
 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;
     try_files /pico/index.php$is_args$args;
 }
 }