daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jan 21st, 2017 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. user www-data;
  2. worker_processes auto;
  3. pid /run/nginx.pid;
  4.  
  5. events {
  6.     worker_connections 768;
  7. }
  8.  
  9. http {
  10.  
  11.     sendfile on;
  12.     tcp_nopush on;
  13.     tcp_nodelay on;
  14.     keepalive_timeout 65;
  15.     types_hash_max_size 2048;
  16.         proxy_headers_hash_max_size 1024;
  17.         proxy_headers_hash_bucket_size 128;
  18.         server_tokens off;
  19.  
  20.     include /etc/nginx/mime.types;
  21.     default_type application/octet-stream;
  22.  
  23.     ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
  24.     ssl_prefer_server_ciphers on;
  25.  
  26.     access_log /var/log/nginx/proxy.log;
  27.     error_log /var/log/nginx/error.log;
  28.  
  29.     gzip on;
  30.     gzip_disable "msie6";
  31.  
  32.         log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
  33.                '$ssl_protocol '
  34.                '$status $body_bytes_sent "$http_referer" '
  35.                '"$http_user_agent" $request_time "$http_x_forwarded_for"';
  36.  
  37.     include /etc/nginx/conf.d/*.conf;
  38.     include /etc/nginx/sites-enabled/*;
  39. }
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