Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user www-data;
- error_log /var/log/nginx/error.log debug;
- pid /var/run/nginx.pid;
- worker_rlimit_nofile 80000;
- events {
- worker_connections 2048;
- }
- http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- access_log /var/log/nginx/access.log;
- sendfile on;
- #tcp_nopush on;
- keepalive_timeout 400;
- tcp_nodelay on;
- proxy_read_timeout 900;
- client_header_timeout 10m;
- client_body_timeout 10m;
- send_timeout 10m;
- client_max_body_size 16m;
- include /etc/nginx/conf.d/*.conf;
- include /etc/nginx/sites-enabled/*;
- include /etc/nginx/phpmyadmin.conf;
- ##
- # Gzip Settings
- ##
- gzip on;
- gzip_disable "msie6";
- gzip_vary on;
- gzip_proxied any;
- gzip_comp_level 6;
- gzip_buffers 16 8k;
- gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement