Advanced Search
Search Results
6 total results found
Nginx Logs
apiVersion: v1 kind: ConfigMap metadata: name: fluent-bit namespace: monitor selfLink: /api/v1/namespaces/monitor/configmaps/fluent-bit uid: 8e6515f6-bd93-4a01-82f5-e272dc423fd1 resourceVersion: '568097977' creationTimestamp: '2025-01-14T09:02:32Z'...
Nginx Access Log Stats
Log Format log_format main '$remote_addr - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for" ' 'rt="$request_time" ' ...
Log Format Sed
Source Format log_format main '$remote_addr - $remote_user [$time_local] ' '"$reqpwuest" $status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; Dest Format log_format main '$remote_addr - $re...
Rate Limiting
Basic Configuration limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s; server { location /login/ { limit_req zone=mylimit; proxy_pass http://my_upstream; } } limit_req_zone: Defines the params for rate limiting. Define...
Real IP
A: 透传客户端真实IP有没有场景是双层nginx透传的 B: 目前只有 nginx 透传 istio 或者 f5 透传 istio 的吧 A: code的30004有一个自己的nginx做透传,然后整体平台前面还有一个nginx代理 C: 你只需要关心TCP那层就可以,Code获取真实IP是通过Haproxy的Proxy Protocol v2 协议,所以只需要支持这个协议就可以,Nginx、haproxy 都可以 A: 两个nginx绕过任意一个都能透传,放在一起就有问题,我在家里复现下 A: Ngi...
Cannot Assign Requested Address
Errors HTTP 5022025/02/12 11:10:57 [crit] 27#27: *3710624 connect() to 10.1.114.15:8080 failed (99: Cannot assign requested address) while connecting to upstream, client: 10.244.71.211, server: foo, request: "POST /api/gateway/login/123 HTTP/1.1", upstream: "...