Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # For more information on configuration, see:
- # * Official English Documentation: http://nginx.org/en/docs/
- # * Official Russian Documentation: http://nginx.org/ru/docs/
- user nginx;
- worker_processes auto;
- error_log /var/log/nginx/error.log;
- pid /run/nginx.pid;
- # Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
- include /usr/share/nginx/modules/*.conf;
- events {
- worker_connections 1024;
- }
- http {
- include /etc/nginx/mime.types;
- default_type text/htm;
- 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;
- client_body_timeout 5m;
- send_timeout 5m;
- connection_pool_size 4096;
- client_header_buffer_size 4k;
- large_client_header_buffers 4 4k;
- request_pool_size 4k;
- reset_timedout_connection on;
- gzip on;
- gzip_min_length 100;
- gzip_buffers 4 8k;
- gzip_comp_level 5;
- gzip_types text/plain;
- gzip_types application/x-javascript;
- gzip_types text/css;
- output_buffers 128 512k;
- postpone_output 1460;
- aio on;
- directio 512;
- sendfile on;
- client_max_body_size 8m;
- client_body_buffer_size 256k;
- fastcgi_intercept_errors on;
- tcp_nopush on;
- tcp_nodelay on;
- keepalive_timeout 75 20;
- ignore_invalid_headers on;
- index index.php;
- server_tokens off;
- include /etc/nginx/conf.d/*.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement