Skip to content

Commit

Permalink
Merge branch 'release/1.0.27'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed Jun 23, 2020
2 parents 15c4ce3 + 3a262a7 commit 1eca62d
Show file tree
Hide file tree
Showing 4 changed files with 10 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.27 - 2020.06.23
### Changed
* Explicitly set `DOCUMENT_ROOT`

## 1.0.26 - 2020.06.23
### Changed
* Changed `$document_root` to `$realpath_root` to sidestep opcache issues automatically [Learn More](https://ma.ttias.be/php-opcache-and-symlink-based-deploys/)
Expand Down
3 changes: 2 additions & 1 deletion forge-example/NginxConfiguration.conf
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ server {
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
fastcgi_param HTTP_PROXY "";
fastcgi_param HTTP_HOST SOMEDOMAIN.com;

Expand Down
3 changes: 2 additions & 1 deletion sites-available/basic_localdev.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ server {
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
fastcgi_param HTTP_PROXY "";
fastcgi_param HTTP_HOST SOMEDOMAIN.com;

Expand Down
3 changes: 2 additions & 1 deletion sites-available/somedomain.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ server {
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
fastcgi_param HTTP_PROXY "";
fastcgi_param HTTP_HOST SOMEDOMAIN.com;

Expand Down

0 comments on commit 1eca62d

Please sign in to comment.