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:
parent
6bb65fb12b
commit
25bfa289cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue