diff --git a/CHANGELOG.md b/CHANGELOG.md index 83e808d..28a9c55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Nginx-Craft Changelog +## 1.0.29 - 2020.10.21 +### Changed +* Fix multi-site requests missing query params + ## 1.0.28 - 2020.08.20 ### Changed * Set `server_tokens` to `off` diff --git a/forge-example/NginxConfiguration.conf b/forge-example/NginxConfiguration.conf index 989e286..7bac8ea 100644 --- a/forge-example/NginxConfiguration.conf +++ b/forge-example/NginxConfiguration.conf @@ -98,7 +98,7 @@ server { # you need to support #location @enrewrites { - # rewrite ^/en/(.*)$ /en/index.php?p=$1? last; + # rewrite ^/en/(.*)$ /en/index.php?$query_string? last; #} # #location /en/ { diff --git a/sites-available/somedomain.com.conf b/sites-available/somedomain.com.conf index 7004f97..b6102c9 100644 --- a/sites-available/somedomain.com.conf +++ b/sites-available/somedomain.com.conf @@ -108,7 +108,7 @@ server { # you need to support #location @enrewrites { - # rewrite ^/en/(.*)$ /en/index.php?p=$1? last; + # rewrite ^/en/(.*)$ /en/index.php?$query_string? last; #} # #location /en/ {