blob: ce9a4ae9558e48f29cd9acc19f81c6b0efc61211 (
plain)
1
2
3
4
5
6
7
8
9
10
|
index index.php index.html index.htm;
server_name localhost;
# pass the PHP scripts to FastCGI server listening on the php-fpm socket
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
|