{"provider_url":"https://hatena.blog","title":"amazon ws\u306eELB\u914d\u4e0b\u306enginx.conf\u3067\u30a2\u30af\u30bb\u30b9\u5143\u306eIP\u306b\u3088\u308b\u63a5\u7d9a\u5236\u9650","blog_title":"end0tknr's kipple - web\u5199\u7d4c\u958b\u767a","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20150618%2F1434608411\" title=\"amazon ws\u306eELB\u914d\u4e0b\u306enginx.conf\u3067\u30a2\u30af\u30bb\u30b9\u5143\u306eIP\u306b\u3088\u308b\u63a5\u7d9a\u5236\u9650 - end0tknr&#39;s kipple - web\u5199\u7d4c\u958b\u767a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_name":"end0tknr","published":"2015-06-18 15:20:11","provider_name":"Hatena Blog","blog_url":"https://end0tknr.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/end0tknr/","categories":[],"url":"https://end0tknr.hateblo.jp/entry/20150618/1434608411","image_url":null,"height":"190","description":"\u4f8b\u3048\u3070\u3001AWS ELB\u914d\u4e0b\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306b $http_x_forwarded_for \u3067\u3001nginx.conf\u3092\u66f8\u304f\u3088\u3046\u3067\u3059\u3002 \u307e\u3041\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306a\u74b0\u5883\u3067\u306f\u3001\u3069\u308c\u3082\u540c\u3058\u30ce\u30ea\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3051\u3069 # for pre-open closed test map $http_x_forwarded_for $allowed { default deny; ~\\s*111.222.333.444$ allow; ~\\s*123.456.789.*$ allow; } location / { if ( $allowed = \"deny\" ) { return 403; } alias /path/t\u2026","width":"100%","version":"1.0"}