mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-24 12:59:21 +00:00
21 lines
446 B
Plaintext
21 lines
446 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server ipv6only=on;
|
|
|
|
root /usr/share/nginx/php;
|
|
index index.php index.html;
|
|
|
|
server_name localhost;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php =404;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
}
|
|
}
|