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.
This commit is contained in:
Daniel Rudolf 2018-01-27 21:08:56 +01:00
parent 6bb65fb12b
commit 25bfa289cf
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -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;
}