1 error_log /tmp/error.log;
6 worker_connections 1024;
10 # Set an array of temp and cache file options that will otherwise default to restricted locations accessible only to root
11 client_body_temp_path /tmp/client_body;
12 fastcgi_temp_path /tmp/fastcgi_temp;
13 proxy_temp_path /tmp/proxy_temp;
14 scgi_temp_path /tmp/scgi_temp;
15 uwsgi_temp_path /tmp/uwsgi_temp;
22 types_hash_max_size 2048;
23 include /etc/nginx/mime.types;
24 default_type application/octet-stream;
27 access_log /tmp/access.log;
34 listen 8000 default_server;
35 listen [::]:8000 default_server ipv6only=on;
40 # First attempt to serve request as file, then as directory, then fall back to index.html
41 try_files $uri $uri/ /index.html;
44 location ~* "\.php(/|$)" {
45 include /etc/nginx/fastcgi_params;
47 fastcgi_split_path_info ^(.+\.php)(.*)$;
48 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
49 fastcgi_param SCRIPT_NAME $fastcgi_script_name;
50 fastcgi_param PATH_INFO $fastcgi_path_info;
51 fastcgi_param SERVER_NAME $host;
53 fastcgi_pass 127.0.0.1:9000;