daily pastebin goal
84%
SHARE
TWEET

Conf

a guest Feb 6th, 2014 597 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. user www-data;
  2. worker_processes 4;
  3. pid /var/run/nginx.pid;
  4.  
  5. events {
  6.         worker_connections 19000;
  7.         # multi_accept on;
  8. }
  9.  
  10. worker_rlimit_nofile    20000;
  11.  
  12. http {
  13.  
  14.         ##
  15.        # Basic Settings
  16.        ##
  17.  
  18.         sendfile on;
  19.         tcp_nopush on;
  20.         tcp_nodelay on;
  21.         keepalive_timeout 65;
  22.         types_hash_max_size 2048;
  23.         # server_tokens off;
  24.  
  25.         # server_names_hash_bucket_size 64;
  26.        # server_name_in_redirect off;
  27.  
  28.         include /etc/nginx/mime.types;
  29.         default_type application/octet-stream;
  30.  
  31.         ##
  32.        # Logging Settings
  33.        ##
  34.  
  35.         access_log /var/log/nginx/access.log;
  36.         error_log /var/log/nginx/error.log;
  37.  
  38.         ##
  39.        ##
  40.        # Gzip Settings
  41.        ##
  42.  
  43. #       gzip on;
  44. #               gzip_disable "msie6";
  45. #               # gzip_vary on;
  46. #               gzip_proxied any;
  47. #               gzip_comp_level 6;
  48. #               gzip_min_length  1100;
  49. #               gzip_buffers 16 8k;
  50. #               # gzip_http_version 1.1;
  51. #               gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  52.  
  53.         gzip              on;
  54.         gzip_buffers      16 8k;
  55.         gzip_comp_level   4;
  56.         gzip_http_version 1.0;
  57.         gzip_min_length   1280;
  58.         gzip_types        text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript image/x-icon image/bmp;
  59.         gzip_vary         on;
  60.         ##
  61.        # nginx-naxsi config
  62.        ##
  63.        # Uncomment it if you installed nginx-naxsi
  64.        ##
  65.  
  66.         #include /etc/nginx/naxsi_core.rules;
  67.  
  68.         ##
  69.        # nginx-passenger config
  70.        ##
  71.        # Uncomment it if you installed nginx-passenger
  72.        ##
  73.  
  74.         #passenger_root /usr;
  75.        #passenger_ruby /usr/bin/ruby;
  76.  
  77.         ##
  78.        # Virtual Host Configs
  79.  
  80.         ##
  81.  
  82.         include /etc/nginx/conf.d/*.conf;
  83.         include /etc/nginx/sites-enabled/*;
  84. }
  85.  
  86.  
  87. #mail {
  88. #       # See sample authentication script at:
  89. #       # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
  90. #
  91. #       # auth_http localhost/auth.php;
  92. #       # pop3_capabilities "TOP" "USER";
  93. #       # imap_capabilities "IMAP4rev1" "UIDPLUS";
  94. #
  95. #       server {
  96. #               listen     localhost:110;
  97. #               protocol   pop3;
  98. #               proxy      on;
  99. #       }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top