Advertisement
a_igin

Untitled

Nov 30th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. events {
  2. worker_connections 768;
  3. # multi_accept on;
  4. }
  5.  
  6. http {
  7.  
  8. ##
  9. # Basic Settings
  10. ##
  11.  
  12. sendfile on;
  13. tcp_nopush on;
  14. tcp_nodelay on;
  15. keepalive_timeout 65;
  16. types_hash_max_size 2048;
  17. # server_tokens off;
  18.  
  19. # server_names_hash_bucket_size 64;
  20. # server_name_in_redirect off;
  21.  
  22. include /etc/nginx/mime.types;
  23. default_type application/octet-stream;
  24.  
  25. ##
  26. # SSL Settings
  27. ##
  28.  
  29. ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
  30. ssl_prefer_server_ciphers on;
  31.  
  32. ##
  33. # Logging Settings
  34. ##
  35.  
  36. access_log /var/log/nginx/access.log;
  37. error_log /var/log/nginx/error.log;
  38.  
  39. ##
  40. # Gzip Settings
  41. ##
  42.  
  43. gzip on;
  44.  
  45. # gzip_vary on;
  46. # gzip_proxied any;
  47. # gzip_comp_level 6;
  48. # gzip_buffers 16 8k;
  49. # gzip_http_version 1.1;
  50. # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
  51.  
  52. ##
  53. # Virtual Host Configs
  54. ##
  55.  
  56. include /etc/nginx/conf.d/*.conf;
  57. include /etc/nginx/sites-enabled/*;
  58. }
  59.  
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement