Skip to content

Commit

Permalink
Merge branch 'release/1.0.26'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jun 23, 2020
2 parents 7485349 + e9f3869 commit 323be18
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Nginx-Craft Changelog

## 1.0.26 - 2020.06.23
### Changed
* Changed `$document_root` to `$realpath_root` to sidestype opcache issues automatically [Learn More](https://ma.ttias.be/php-opcache-and-symlink-based-deploys/)

## 1.0.25 - 2020.06.15
### Changed
* Route any 404s for `expires.conf` matches back through Craft for handling
Expand Down
2 changes: 1 addition & 1 deletion forge-example/NginxConfiguration.conf
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ server {
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTP_PROXY "";
fastcgi_param HTTP_HOST SOMEDOMAIN.com;
Expand Down
2 changes: 1 addition & 1 deletion sites-available/basic_localdev.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ server {
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTP_PROXY "";
fastcgi_param HTTP_HOST SOMEDOMAIN.com;
Expand Down
2 changes: 1 addition & 1 deletion sites-available/somedomain.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ server {
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTP_PROXY "";
fastcgi_param HTTP_HOST SOMEDOMAIN.com;
Expand Down

0 comments on commit 323be18

Please sign in to comment.