èæ¯ ECSã§Nginxã®ã³ã³ããããããã·ã¨ãã¦ç«ã¦ãã¨ãããAPIãµã¼ãã®ã¢ã¯ã»ã¹ãã°ã®ã¯ã©ã¤ã¢ã³ãIPãNginxã®ã³ã³ããIPã«ãªã£ã¦ããã®ã§ãã®ä¿®æ£ãããã®ããã£ããã§ãã ç°å¢ Nginx 1.10.2 Docker1.12.1 æ§æ Client -> ELB -> Nginx -> API ã¨ããæ§æã¨ãã¾ãã ãããã§ããè¦ãæ å ± set_real_ip_from 172.31.0.0/16; real_ip_header X-Forwarded-For; ã追å ãããã¨ã proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ã追å ãããã¨ãã©ããã©ãã ãåããã«ããã®ã§ï¼ã¤ï¼ã¤èª¬æãã¦ããã¾ãã ç¨èªèª¬æ remote_
{{#tags}}- {{label}}
{{/tags}}