{"id":5896,"date":"2017-04-04T12:13:48","date_gmt":"2017-04-04T03:13:48","guid":{"rendered":"https:\/\/quizgenerator.net\/?p=5896"},"modified":"2017-04-04T12:13:48","modified_gmt":"2017-04-04T03:13:48","slug":"aws%e3%81%aealb%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81-84%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%aehttp%e3%81%8b%e3%82-89https%e3%81%b8%e3%81%aeurl%e8%bb%a2%e9%80%81%e6%96%b9%e6%b31-tp1t95","status":"publish","type":"post","link":"https:\/\/quizgenerator.net\/en\/2017\/04\/aws%e3%81%aealb%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%84%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%aehttp%e3%81%8b%e3%82%89https%e3%81%b8%e3%81%aeurl%e8%bb%a2%e9%80%81%e6%96%b9%e6%b3%95\/","title":{"rendered":"How to forward URLs from HTTP to HTTPS when using AWS ALB"},"content":{"rendered":"<p>Amazon Web Services\u306bALB(Application Load Balancer)\u304c\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306eALB\u3001\u5916\u304b\u3089\u6765\u305fHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306eSSL\u3092\u89e3\u9664\u3057\u3066\u3001ALB\u3068Web\u30b5\u30fc\u30d0\u306e\u9593\u3092HTTP\u901a\u4fe1\u306b\u5909\u66f4\u3059\u308b\u6a5f\u80fd\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u5f71\u97ff\u3067\u3001ALB\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u901a\u4fe1\u304cHTTP\u3060\u308d\u3046\u304cHTTPS\u3060\u308d\u3046\u304c\u3001Web\u30b5\u30fc\u30d0\u306b\u3068\u3063\u3066\u306fHTTP\u901a\u4fe1\u306e\u3088\u3046\u306b\u898b\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001ALB\u3092\u610f\u8b58\u3057\u3066\u3044\u306a\u3044\u8a2d\u5b9a\u3067\u306f\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u306b\u9665\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p><strong>ALB\u3092\u901a\u3057\u3066\u3082\u3061\u3083\u3093\u3068\u52d5\u304f\u4f8b<\/strong><\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001ALB\u3092\u901a\u3057\u3066SSL\u304c\u89e3\u9664\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3082\u3001\u5143\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u3066\u6b63\u3057\u304f\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002\uff12\u884c\u76ee\u306fALB\u3092\u901a\u3055\u305a\u76f4\u63a5\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u305f\u5834\u5408\u306e\u5224\u5b9a\u3001\uff13\u884c\u76eeALB\u3092\u901a\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3057\u305f\u5834\u5408\u306e\u5224\u5b9a\u3067\u3001\u3053\u308c\u3089\u306e\u6761\u4ef6\u3092\u4e21\u65b9\u6e80\u305f\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u307fhttps:\/\/\u306eURL\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>RewriteEngine on<br \/>\nRewriteCond %{HTTPS} off<br \/>\nRewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]<br \/>\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [R,L]<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"An ALB (Application Load Balancer) has been introduced in Amazon Web Services. This ALB, HTTP from outside...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","_lmt_disableupdate":"yes","_lmt_disable":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[39],"tags":[],"class_list":["post-5896","post","type-post","status-publish","format-standard","hentry","category-blog"],"acf":[],"modified_by":"tatsuno-admin","_links":{"self":[{"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/posts\/5896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/comments?post=5896"}],"version-history":[{"count":0,"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/posts\/5896\/revisions"}],"wp:attachment":[{"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/media?parent=5896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/categories?post=5896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/quizgenerator.net\/en\/wp-json\/wp\/v2\/tags?post=5896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}