Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user django; [27/1944]
- worker_processes 2;
- error_log /var/log/nginx/error.log warn;
- pid /var/run/nginx.pid;
- events {
- worker_connections 1024;
- ## accept_mutex off;
- ## use epoll;
- }
- http {
- include /etc/nginx/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 /var/log/nginx/access.log main;
- sendfile on;
- ## tcp_nopush on;
- types_hash_max_size 2048;
- server_names_hash_bucket_size 64;
- gzip on;
- gzip_http_version 1.0;
- gzip_proxied any;
- gzip_min_length 500;
- gzip_disable "MSIE [1-6]\.";
- gzip_types text/plain text/xml text/css text/comma-separated-values
- text/javascript application/x-javascript application/atom+xml;
- keepalive_timeout 75s;
- keepalive_requests 1000;
- reset_timedout_connection on;
- # fastcgi_buffers 8 16k;
- # fastcgi_buffer_size 32k;
- # fastcgi_connect_timeout 300;
- # fastcgi_send_timeout 300;
- # fastcgi_read_timeout 300;
- proxy_buffers 8 8k;
- proxy_intercept_errors on;
- proxy_connect_timeout 75s;
- proxy_read_timeout 128s;
- proxy_send_timeout 128s;
- include /etc/nginx/conf.d/*.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement