From 25bfa289cf8ffc4f755e28a6e1a8489f5d2c7763 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sat, 27 Jan 2018 21:08:56 +0100 Subject: [PATCH] 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. --- content-sample/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content-sample/index.md b/content-sample/index.md index ac30a17..ccdd9e7 100644 --- a/content-sample/index.md +++ b/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; }