nginx.conf 791 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This is not needed.
  2. load_module modules/ngx_http_headers_more_filter_module.so;
  3. user nginx;
  4. worker_processes auto;
  5. error_log /var/log/nginx/error.log warn;
  6. pid /var/run/nginx.pid;
  7. events {
  8. worker_connections 1024;
  9. }
  10. http {
  11. include /etc/nginx/mime.types;
  12. default_type application/octet-stream;
  13. more_set_headers "Server: bz&bz";
  14. server_tokens off;
  15. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  16. '$status $body_bytes_sent "$http_referer" '
  17. '"$http_user_agent" "$http_x_forwarded_for"';
  18. access_log /var/log/nginx/access.log main;
  19. sendfile on;
  20. #tcp_nopush on;
  21. keepalive_timeout 65;
  22. #gzip on;
  23. include /etc/nginx/conf.d/*.conf;
  24. }