nginx缓存解决验证码问题.docxVIP

  • 36
  • 0
  • 约2.44千字
  • 约 3页
  • 2021-11-26 发布于江苏
  • 举报
nginx缓存解决验证码问题 问题描述: 网页启用图像验证码时,在使用nginx做缓存,配置不恰当会导致验证码被缓存。解决方法如下: user root; worker_processes 4; error_log /data/nginx/logs/error.log info; pid /data/nginx/logs/nginx.pid; worker_rlimit_nofile 65535; events { use epoll; worker_connections 65535; } http { include mime.types; default_type application/octet-stream; server_names_hash_bucket_size 128; client_header_buffer_size 64k; large_client_header_buffers 8 64k; client_max_body_size 8m; sendfile on; tcp_nopush on; keepalive_timeout 60; tcp_nodelay on; client_body_buffer_size 512k; proxy_connect_timeout 500; proxy_read_timeout 6000; proxy_send_

文档评论(0)

1亿VIP精品文档

相关文档