fastcgi_pass_fpm.j2 275 B

123456789101112
  1. # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
  2. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  3. include fastcgi_params;
  4. fastcgi_param SCRIPT_FILENAME $request_filename;
  5. fastcgi_pass fpm-backend;
  6. fastcgi_index index.php;
  7. fastcgi_buffer_size 8m;
  8. fastcgi_buffers 8 8m;