Created
June 27, 2012 21:26
-
-
Save omares/3006971 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
user otamares staff; | |
worker_processes 4; | |
error_log /usr/local/var/log/nginx/error.log; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' | |
'"$http_user_agent" "$http_x_forwarded_for"'; | |
access_log /usr/local/var/log/nginx/access.log main; | |
sendfile on; | |
tcp_nopush on; | |
keepalive_timeout 300; | |
send_timeout 300; | |
fastcgi_read_timeout 300; | |
gzip on; | |
client_max_body_size 30M; | |
client_body_buffer_size 512k; | |
server { | |
listen 80; | |
server_name _ localhost; | |
root /Users/otamares/development/www-root; | |
index index.php index.html index.htm; | |
#error_page 404 /404.html; | |
error_page 500 502 503 504 /50x.html; | |
location = /50x.html { | |
root /Users/otamares/development/www-root; | |
} | |
location ~ \.php$ { | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
include fastcgi_params; | |
} | |
location ~ /\.ht { | |
deny all; | |
} | |
} | |
push_stream_channel_deleted_message_text '{"type":"delete","data":"Channel deleted","reply":false}'; | |
include /usr/local/etc/nginx/sites-enabled/*.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment