summaryrefslogtreecommitdiff
path: root/docs/en
diff options
context:
space:
mode:
authorGravatar jakem72360 <jakem_5@hotmail.com> 2020-07-04 19:16:09 +1000
committerGravatar GitHub <noreply@github.com> 2020-07-04 11:16:09 +0200
commit45935945443aa76e04eed8524b0973984c3af3ec (patch)
treee74b13fdc811bf31d610ba40a40c5e1b969be343 /docs/en
parentd7d39f07368379e7ef1619e52cc50c0920ce8351 (diff)
Fixed nginx split paths config issue (#3077)
* Fixed nginx split paths config issue * Improved config comments. * s/fixes/see/ * Added link to nginx issue tracker
Diffstat (limited to 'docs/en')
-rw-r--r--docs/en/admins/10_ServerConfig.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/en/admins/10_ServerConfig.md b/docs/en/admins/10_ServerConfig.md
index 88387274a..5286023f8 100644
--- a/docs/en/admins/10_ServerConfig.md
+++ b/docs/en/admins/10_ServerConfig.md
@@ -91,7 +91,10 @@ server {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
# By default, the variable PATH_INFO is not set under PHP-FPM
# But FreshRSS API greader.php need it. If you have a “Bad Request” error, double check this var!
- fastcgi_param PATH_INFO $fastcgi_path_info;
+ # NOTE: the separate $path_info variable is required. For more details, see:
+ # https://trac.nginx.org/nginx/ticket/321
+ set $path_info $fastcgi_path_info;
+ fastcgi_param PATH_INFO $path_info;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}