1234567891011121314151617181920212223242526272829303132333435363738394041 |
- worker_processes 8;
- error_log stderr error;
- events {
- worker_connections 1024;
- }
- http {
- include /usr/local/nginx/conf/mime.types;
- default_type application/octet-stream;
- access_log off;
- sendfile on;
- keepalive_timeout 65;
- upstream fastcgi_backend {
- server 127.0.0.1:9001;
- }
- server {
- listen 8080;
- server_name localhost;
- root /home/ubuntu/FrameworkBenchmarks/;
- index index.php;
- location / {
- try_files $uri $uri/ /index.php?$uri&$args;
- }
- location ~ \.php$ {
- try_files $uri =404;
- fastcgi_pass fastcgi_backend;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include /usr/local/nginx/conf/fastcgi_params;
- }
- }
- }
|