随笔分类 - Nginx
摘要:GoAccess: GoAccess - 中文站 - 可视化 Web 日志分析工具 goaccess access.log -o ../html/report.html --real-time-html --time-format='%H:%M:%S' --date-format='%Y-%b-%d
阅读全文
摘要:location ~ /Vend1/$ { return 201 'First RegExp $uri'; } location ~* /Vend1/(.*)$ { return 202 'IgnoreCase RegExp $uri'; } location ^~ /Vend1/ { return
阅读全文
摘要:Module ngx_http_realip_module (nginx.org) 先验证X-Real-IP & X-Forwarded-For: 验证realip proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_add
阅读全文
摘要:Module ngx_http_core_module (nginx.org)
阅读全文
摘要:Module ngx_http_rewrite_module (nginx.org) Module ngx_http_core_module (nginx.org) error_page return error_page:
阅读全文
摘要:Module ngx_http_core_module (nginx.org) limit_conn_zone $binary_remote_addr zone=addr:10m; server { listen 80; server_name *.intrinsic.io; error_log l
阅读全文
摘要:proxy_pass 分两种情况: location 非正则: query string无需手动传递, nginx会自动附加 proxy_pass 后可为upstream server或直接写后端某个主机地址 proxy_pass 后无URI时, location 匹配的全部URI 都附加到prox
阅读全文
摘要:wget http://nginx.org/download/nginx-1.19.6.tar.gz 修改 src/http/ngx_http_header_filter_module.c src/http/ngx_http_special_response.c nginx.conf http{ s
阅读全文