GCP HTTP(S) load balancing ã® X-Forwarded-For ãããã¯å°ãå¤ãã£ã¦ããã®ã§ã¡ã¢ã X-Forwarded-For ã¨ã¯ã©ã¤ã¢ã³ãIP ELBãä»ã®proxyã使ã£ã¦ããã®é ä¸ã®ãµã¼ãã«ãªã¯ã¨ã¹ãå ã®IPã¢ãã¬ã¹ãä¼ããéã«ã¯ãX-Forwarded-For ãããã使ããã¾ãã X-Forwarded-For: $remote_addr ãªã¯ã¨ã¹ãã«ãã§ã«X-F-Fãããããã£ãå ´åã¯ãå¾ãã«è¿½å ãã¾ãã X-Forwarded-For: $http_x_forwarded_for, $remote_addr ã¨ãªãã¾ãã X-F-Fãåãåã£ããµã¼ãã§ã¯ãã¢ã¯ã»ã¹å ã®IPãä¿¡ç¨ã§ããIPã¢ãã¬ã¹ã¾ãã¯IP帯åã®å ´åã«ãX-F-Fã®æå¾ã®IPã¢ãã¬ã¹ããremote_addrã¨ãã¦å©ç¨ãã¾ãã nginxã§ã¯ ngx_http_realip_mo
{{#tags}}- {{label}}
{{/tags}}