Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user www-data;
- worker_processes 4;
- error_log /var/log/nginx/error.log warn;
- pid /var/run/nginx.pid;
- worker_rlimit_nofile 30000;
- events {
- worker_connections 4096;
- multi_accept on;
- use epoll;
- }
- http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- server_tokens off;
- client_max_body_size 700M;
- sendfile on;
- tcp_nopush on;
- #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;
- #buffers
- #client_body_in_single_buffer on;
- #client_body_buffer_size 256k;
- #large_client_header_buffers 4 8k;
- #fastcgi_buffers 256 4k;
- #timeouts
- #keepalive_timeout 120;
- #proxy_read_timeout 120;
- #proxy_connect_timeout 120;
- #fastcgi_read_timeout 120;
- #fastcgi_connect_timeout 120;
- #send_timeout 120;
- #client_header_timeout 120;
- #client_body_timeout 120;
- #gzip
- gzip on;
- gzip_min_length 1100;
- gzip_buffers 4 8k;
- include /etc/nginx/conf.d/*.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement