Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. ## Version 2019/12/19 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/nginx.conf
  2.  
  3. user abc;
  4. worker_processes 4;
  5. pid /run/nginx.pid;
  6. include /etc/nginx/modules/*.conf;
  7.  
  8. events {
  9. worker_connections 768;
  10. # multi_accept on;
  11. }
  12.  
  13. http {
  14.  
  15. ##
  16. # Basic Settings
  17. ##
  18.  
  19. sendfile on;
  20. tcp_nopush on;
  21. tcp_nodelay on;
  22. keepalive_timeout 65;
  23. types_hash_max_size 2048;
  24. variables_hash_max_size 2048;
  25. large_client_header_buffers 4 16k;
  26.  
  27. # server_tokens off;
  28.  
  29. # server_names_hash_bucket_size 64;
  30. # server_name_in_redirect off;
  31.  
  32. client_max_body_size 0;
  33.  
  34. include /etc/nginx/mime.types;
  35. default_type application/octet-stream;
  36.  
  37. ##
  38. # Logging Settings
  39. ##
  40.  
  41. access_log /config/log/nginx/access.log;
  42. error_log /config/log/nginx/error.log;
  43.  
  44. ##
  45. # Gzip Settings
  46. ##
  47.  
  48. gzip on;
  49. gzip_disable "msie6";
  50.  
  51. # gzip_vary on;
  52. # gzip_proxied any;
  53. # gzip_comp_level 6;
  54. # gzip_buffers 16 8k;
  55. # gzip_http_version 1.1;
  56. # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  57.  
  58. ##
  59. # nginx-naxsi config
  60. ##
  61. # Uncomment it if you installed nginx-naxsi
  62. ##
  63.  
  64. #include /etc/nginx/naxsi_core.rules;
  65.  
  66. ##
  67. # nginx-passenger config
  68. ##
  69. # Uncomment it if you installed nginx-passenger
  70. ##
  71.  
  72. #passenger_root /usr;
  73. #passenger_ruby /usr/bin/ruby;
  74.  
  75. ##
  76. # Virtual Host Configs
  77. ##
  78. include /etc/nginx/conf.d/*.conf;
  79. include /config/nginx/site-confs/*;
  80. lua_load_resty_core off;
  81.  
  82. }
  83.  
  84.  
  85. #mail {
  86. # # See sample authentication script at:
  87. # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
  88. #
  89. # # auth_http localhost/auth.php;
  90. # # pop3_capabilities "TOP" "USER";
  91. # # imap_capabilities "IMAP4rev1" "UIDPLUS";
  92. #
  93. # server {
  94. # listen localhost:110;
  95. # protocol pop3;
  96. # proxy on;
  97. # }
  98. #
  99. # server {
  100. # listen localhost:143;
  101. # protocol imap;
  102. # proxy on;
  103. # }
  104. #}
  105. daemon off;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement