Created
April 17, 2011 18:44
-
-
Save rynop/924343 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
use epoll; | |
} | |
some others from my server { | |
keepalive_timeout 0; | |
fastcgi_read_timeout 90; | |
fastcgi_send_timeout 90; | |
... | |
location ~ \.php$ { | |
# fastcgi_pass unix:/tmp/php-fastcgi.sock; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_intercept_errors on; # to support 404s for PHP files not found | |
include fastcgi_params; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment