Advertisement
Guest User

Untitled

a guest
Jun 29th, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  2.  
  3. location ~ \.php$ {
  4. include snippets/fastcgi-php.conf;
  5. include /etc/nginx/fastcgi_params;
  6.  
  7. # With php7.0-cgi alone:
  8. #fastcgi_pass 127.0.0.1:9000;
  9. # With php7.0-fpm:
  10. #*7.2
  11. fastcgi_pass unix:/run/php/php7.2-fpm.sock;
  12. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement