Advertisement
Guest User

nginx.conf

a guest
Sep 29th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. ## Version 2018/04/07 - 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.  
  26. # server_tokens off;
  27.  
  28. # server_names_hash_bucket_size 64;
  29. # server_name_in_redirect off;
  30.  
  31. client_max_body_size 0;
  32.  
  33. include /etc/nginx/mime.types;
  34. default_type application/octet-stream;
  35.  
  36. ##
  37. # Logging Settings
  38. ##
  39.  
  40. access_log /config/log/nginx/access.log;
  41. error_log /config/log/nginx/error.log;
  42.  
  43. ##
  44. # Gzip Settings
  45. ##
  46.  
  47. gzip on;
  48. gzip_disable "msie6";
  49.  
  50. # gzip_vary on;
  51. # gzip_proxied any;
  52. # gzip_comp_level 6;
  53. # gzip_buffers 16 8k;
  54. # gzip_http_version 1.1;
  55. # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  56.  
  57. ##
  58. # nginx-naxsi config
  59. ##
  60. # Uncomment it if you installed nginx-naxsi
  61. ##
  62.  
  63. #include /etc/nginx/naxsi_core.rules;
  64.  
  65. ##
  66. # nginx-passenger config
  67. ##
  68. # Uncomment it if you installed nginx-passenger
  69. ##
  70.  
  71. #passenger_root /usr;
  72. #passenger_ruby /usr/bin/ruby;
  73.  
  74. ##
  75. # Virtual Host Configs
  76. ##
  77. include /etc/nginx/conf.d/*.conf;
  78. include /config/nginx/site-confs/*;
  79.  
  80. }
  81.  
  82.  
  83. #mail {
  84. # # See sample authentication script at:
  85. # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
  86. #
  87. # # auth_http localhost/auth.php;
  88. # # pop3_capabilities "TOP" "USER";
  89. # # imap_capabilities "IMAP4rev1" "UIDPLUS";
  90. #
  91. # server {
  92. # listen localhost:110;
  93. # protocol pop3;
  94. # proxy on;
  95. # }
  96. #
  97. # server {
  98. # listen localhost:143;
  99. # protocol imap;
  100. # proxy on;
  101. # }
  102. #}
  103. daemon off;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement