随笔分类 -  Nginx

摘要:GoAccess: GoAccess - 中文站 - 可视化 Web 日志分析工具 goaccess access.log -o ../html/report.html --real-time-html --time-format='%H:%M:%S' --date-format='%Y-%b-%d 阅读全文
posted @ 2022-05-14 09:44 ascertain 阅读(117) 评论(0) 推荐(0) 编辑
摘要:location ~ /Vend1/$ { return 201 'First RegExp $uri'; } location ~* /Vend1/(.*)$ { return 202 'IgnoreCase RegExp $uri'; } location ^~ /Vend1/ { return 阅读全文
posted @ 2022-05-13 19:58 ascertain 阅读(28) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2022-05-13 17:04 ascertain 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-05-13 14:34 ascertain 阅读(7) 评论(0) 推荐(0) 编辑
摘要:Module ngx_http_core_module (nginx.org) 阅读全文
posted @ 2022-05-13 00:19 ascertain 阅读(58) 评论(0) 推荐(0) 编辑
摘要:Module ngx_http_rewrite_module (nginx.org) Module ngx_http_core_module (nginx.org) error_page return error_page: 阅读全文
posted @ 2022-05-12 19:23 ascertain 阅读(94) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2022-05-11 00:03 ascertain 阅读(69) 评论(0) 推荐(0) 编辑
摘要:proxy_pass 分两种情况: location 非正则: query string无需手动传递, nginx会自动附加 proxy_pass 后可为upstream server或直接写后端某个主机地址 proxy_pass 后无URI时, location 匹配的全部URI 都附加到prox 阅读全文
posted @ 2021-10-06 15:56 ascertain 阅读(2474) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2020-12-31 15:52 ascertain 阅读(1196) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示