1
0
angie-krdsh/snip.d/common-fastcgi
2024-03-22 10:24:54 +03:00

18 lines
498 B
Plaintext

## always sourced by snip.d/common-fcgiwrap
try_files $fastcgi_script_name =444;
## KrD: do not pass Accept-Encoding to backend
fastcgi_param HTTP_ACCEPT_ENCODING "";
## bypass the fact that try_files resets $fastcgi_path_info
## see: https://trac.nginx.org/nginx/ticket/321
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_param AUTH_USER $remote_user;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param HTTP_HOST $host;
include fastcgi.conf;