Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##Nginx Configuration
- user www-data;
- worker_processes 4;
- pid /var/run/nginx.pid;
- events {
- worker_connections 1024;
- }
- worker_rlimit_nofile 2048;
- http {
- ##
- # Basic Settings
- ##
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- types_hash_max_size 2048;
- server_tokens off;
- client_max_body_size 120m;
- client_body_buffer_size 128k;
- keepalive_timeout 5;
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- access_log /var/log/nginx/access.log;
- error_log /var/log/nginx/error.log;
- ##
- # PHP 5.3
- ##
- upstream php53 {
- server 127.0.0.1:9000;
- }
- gzip on;
- gzip_disable "msie6";
- include /etc/nginx/sites-enabled/*;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement