Advertisement
Guest User

Untitled

a guest
Sep 5th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 1.26 KB | None | 0 0
  1. user www-data;                                                                        
  2.   2 worker_processes auto;
  3.   3 pid /run/nginx.pid;
  4.   4
  5.   5 events {
  6.   6     worker_connections 768;
  7.   7     # multi_accept on;
  8.   8 }
  9.   9
  10.  10 http {
  11.  11
  12.  12     ##
  13.  13     # Basic Settings
  14.  14     ##
  15.  15
  16.  16     sendfile on;
  17.  17     tcp_nopush on;
  18.  18     tcp_nodelay on;
  19.  19     keepalive_timeout 65;
  20.  20     types_hash_max_size 2048;
  21.  21     # server_tokens off;
  22.  22
  23.  23     # server_names_hash_bucket_size 64;
  24.  24     # sever_name_in_redirect off;
  25.  25
  26.  26     include /etc/nginx/mime.types;
  27.  27     default_type application/octet-stream;
  28.  
  29.  28     ##
  30.  30     # SSL Settings
  31.  31     ##
  32.  32
  33.  33     ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
  34.  34     ssl_prefer_server_ciphers on;
  35.  35
  36.  36     ##
  37.  37     # Logging Settings
  38.  38     ##
  39.  39
  40.  40     access_log /var/log/nginx/access.log;
  41.  41     error_log /var/log/nginx/error.log;
  42.  42
  43.  43     ##
  44.  44     # Gzip Settings
  45.  45     ##
  46.  46
  47.  47     gzip on;
  48.  48     gzip_disable "msie6";
  49.  49
  50.  50     ##
  51.  51     # Virtual Host Configs
  52.  52     ##
  53.  53
  54.  54     include /etc/nginx/conf.d/*.conf;
  55.  55     include /etc/nginx/sites-enabled/*;
  56.  56 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement