File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Nginx-Craft Changelog
2
2
3
+ ## 1.0.26 - 2020.06.23
4
+ ### Changed
5
+ * Changed ` $document_root ` to ` $realpath_root ` to sidestype opcache issues automatically [ Learn More] ( https://ma.ttias.be/php-opcache-and-symlink-based-deploys/ )
6
+
3
7
## 1.0.25 - 2020.06.15
4
8
### Changed
5
9
* Route any 404s for ` expires.conf ` matches back through Craft for handling
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ server {
123
123
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
124
124
fastcgi_index index.php;
125
125
include fastcgi_params;
126
- fastcgi_param SCRIPT_FILENAME $document_root $fastcgi_script_name;
126
+ fastcgi_param SCRIPT_FILENAME $realpath_root $fastcgi_script_name;
127
127
fastcgi_param PATH_INFO $fastcgi_path_info;
128
128
fastcgi_param HTTP_PROXY "";
129
129
fastcgi_param HTTP_HOST SOMEDOMAIN.com;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ server {
51
51
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
52
52
fastcgi_index index.php;
53
53
include fastcgi_params;
54
- fastcgi_param SCRIPT_FILENAME $document_root $fastcgi_script_name;
54
+ fastcgi_param SCRIPT_FILENAME $realpath_root $fastcgi_script_name;
55
55
fastcgi_param PATH_INFO $fastcgi_path_info;
56
56
fastcgi_param HTTP_PROXY "";
57
57
fastcgi_param HTTP_HOST SOMEDOMAIN.com;
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ server {
129
129
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
130
130
fastcgi_index index.php;
131
131
include fastcgi_params;
132
- fastcgi_param SCRIPT_FILENAME $document_root $fastcgi_script_name;
132
+ fastcgi_param SCRIPT_FILENAME $realpath_root $fastcgi_script_name;
133
133
fastcgi_param PATH_INFO $fastcgi_path_info;
134
134
fastcgi_param HTTP_PROXY "";
135
135
fastcgi_param HTTP_HOST SOMEDOMAIN.com;
You can’t perform that action at this time.
0 commit comments