Advertisement
Guest User

Untitled

a guest
Mar 20th, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. #user nginx;
  2. worker_processes 1;
  3.  
  4. #error_log /var/log/nginx/error.log;
  5. #error_log /var/log/nginx/error.log notice;
  6. #error_log /var/log/nginx/error.log info;
  7.  
  8. #pid /var/run/nginx.pid;
  9.  
  10. include /etc/nginx/modules.conf.d/*.conf;
  11.  
  12. events {
  13. worker_connections 1024;
  14. }
  15.  
  16.  
  17. http {
  18. include mime.types;
  19. default_type application/octet-stream;
  20.  
  21. #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  22. # '$status $body_bytes_sent "$http_referer" '
  23. # '"$http_user_agent" "$http_x_forwarded_for"';
  24.  
  25. #access_log /var/log/nginx/access.log main;
  26.  
  27. sendfile on;
  28. #tcp_nopush on;
  29.  
  30. #keepalive_timeout 0;
  31. keepalive_timeout 65;
  32. #tcp_nodelay on;
  33.  
  34. gzip on;
  35. gzip_disable "MSIE [1-6]\.(?!.*SV1)";
  36.  
  37. proxy_buffers 8 16k;
  38. proxy_buffer_size 32k;
  39. fastcgi_buffers 8 16k;
  40. fastcgi_buffer_size 32k;
  41.  
  42. server_tokens off;
  43.  
  44. include /etc/nginx/conf.d/*.conf;
  45. }
  46.  
  47. # override global parameters e.g. worker_rlimit_nofile
  48. include /etc/nginx/*global_params;
  49.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement