Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- include /etc/nginx/fastcgi_params;
- # With php7.0-cgi alone:
- #fastcgi_pass 127.0.0.1:9000;
- # With php7.0-fpm:
- #*7.2
- fastcgi_pass unix:/run/php/php7.2-fpm.sock;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement