Advertisement
Guest User

php.conf

a guest
Dec 22nd, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.39 KB | None | 0 0
  1. #pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  2.  
  3. location ~ \.php$ {
  4.     root           html;
  5.     fastcgi_pass   127.0.0.1:9000;
  6.     fastcgi_index  index.php;
  7. #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
  8.     fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
  9.     include        fastcgi_params;
  10.     include        fastcgi.conf;   
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement