1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
732 B
Plaintext

daemon off;
pid /run/nginx.pid;
worker_processes 1;
11 years ago
events {
worker_connections 1024;
}
11 years ago
http {
include mime.types;
default_type application/octet-stream;
11 years ago
sendfile on;
keepalive_timeout 65;
gzip on;
server {
listen 80;
root /var/www;
11 years ago
index index.php index.html;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
}
}
}