{"id":387,"date":"2007-03-01T00:23:20","date_gmt":"2007-02-28T15:23:20","guid":{"rendered":"http:\/\/ecpplus.net\/weblog\/20070301002320"},"modified":"2020-05-24T23:23:04","modified_gmt":"2020-05-24T14:23:04","slug":"pound%e3%81%99%e3%81%94%e3%81%8f%e8%90%8c%e3%81%88%e3%81%9f","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/pound%e3%81%99%e3%81%94%e3%81%8f%e8%90%8c%e3%81%88%e3%81%9f\/","title":{"rendered":"Pound\u3059\u3054\u304f\u840c\u3048\u305f"},"content":{"rendered":"<p>ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570Rails\u30a2\u30d7\u30ea\u3092\u540c\u4e00\u30b5\u30fc\u30d0\u3067\u52d5\u304b\u3059\u306e\u306b\u3059\u3054\u304f\u4fbf\u5229\u3002<\/p>\n<h4>SSL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(SSL\u3092\u4f7f\u7528\u3059\u308b\u6642\u306e\u307f) <\/h4>\n<p>\u3000OpenSSL\u304b\u3089\u6700\u65b0\u7248\u3092\u843d\u3068\u3059\u3002\u304a\u306a\u3058\u307f\u306e<\/p>\n<pre>$ .\/configure\n$ make\n# make install<\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u3002Debian\u3060\u3068\u3001\/usr\/local\/ssl \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u6a21\u69d8\u3002\u3069\u3053\u306b\u30a4\u30f3\u30b9\u30b3\u3055\u308c\u305f\u304b\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u3068\u304d\u306f\u3001<\/p>\n<pre>$ whereis ssl<\/pre>\n<p>\u3063\u3066\u3084\u308c\u3070\u51fa\u308b\u3088\u3002<\/p>\n<h4>Pound\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>Pound\u304b\u3089\u3001\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002SSL\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001<code>--with-ssl=ssl_dir<\/code> \u3067\u8a2d\u5b9a\u3059\u308b\u3002\u4f7f\u308f\u306a\u3044\u5834\u5408\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u4e0d\u8981\u3002<\/p>\n<pre>$ .\/configure --with-ssl=\/usr\/local\/ssl\n$ make\n# make install<\/pre>\n<p>\u3068\u3059\u308c\u3070\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3002<\/p>\n<h4>Pound\u306e\u8a2d\u5b9a<\/h4>\n<p>\u3000\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u3042\u308b\u3002\u306a\u3044\u5834\u5408\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<pre>\/usr\/local\/pound.cfg<\/pre>\n<p>1,2\u884c\u76ee\u306fPound\u3092\u52d5\u304b\u3059\u4eba\u3002root\u306f\u907f\u3051\u305f\u307b\u3046\u304c\u3044\u3044\u3068\u3002<br \/>\n\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3067\u3001sample1.com \u306b\u304d\u305f\u30a2\u30af\u30bb\u30b9\u3092 3000\u756a\u30dd\u30fc\u30c8\u3078\u3001 sample2.com \u306b\u6765\u305f\u30a2\u30af\u30bb\u30b9\u3092 3001\u756a\u30dd\u30fc\u30c8\u3078\u8ee2\u9001\u3067\u304d\u308b\u3002\u9055\u3046Rails\u30a2\u30d7\u30ea\u304c\u540c\u3058\u30b5\u30fc\u30d0\u3067\u52d5\u304d\u307e\u3059\u3002\u4ed6\u306bApache\u3068\u304b\u52d5\u304b\u3057\u3068\u3051\u3070\u3001\u9759\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u5168\u90e8\u305d\u3063\u3061\u3067\u3055\u3070\u3051\u307e\u3059\u3002\u3053\u308c\u306f\u3044\u3044\u2026<\/p>\n<pre>User           \"www-data\"\nGroup          \"www-data\"\n\nLogLevel       1\n\nAlive          30\n\n## use hardware-accelleration card supported by openssl(1):\n#SSLEngine     <hw>\n\n\n######################################################################\n## listen, redirect and ... to:\n\n## redirect all requests on port 8888 (\"ListenHTTP\") to the local webserver see \"UrlGroup\" below):\n#127.0.0.1,8080\n\nListenHTTP\n  Address 192.168.1.100\n  Port 80\n  xHTTP  2\n\n  Service\n    HeadRequire \"Host: sample1.com\"\n    BackEnd\n      Address 127.0.0.1\n      Port 3000\n    End\n  End\n\n  Service\n    HeadRequire \"Host: sample2.com\"\n    BackEnd\n      Address 127.0.0.1\n      Port 3001\n    End\n  End\n\nEnd<\/hw><\/pre>\n<p>\u3059\u3054\u304f\u305f\u3081\u306b\u306a\u3063\u305f\u30b5\u30a4\u30c8 <a href=\"http:\/\/recompile.net\/2007\/02\/pound_mongrel_aapache20_ruby_o.html\">recompile.net<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570Rails\u30a2\u30d7\u30ea\u3092\u540c\u4e00\u30b5\u30fc\u30d0\u3067\u52d5\u304b\u3059\u306e\u306b\u3059\u3054\u304f\u4fbf\u5229\u3002 SSL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(SSL\u3092\u4f7f\u7528\u3059\u308b\u6642\u306e\u307f) \u3000Ope [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[7],"class_list":["post-387","post","type-post","status-publish","format-standard","hentry","category-development","tag-linux"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"\u3061\u3085\u3046\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/ecpplus.net\/weblog\/pound%e3%81%99%e3%81%94%e3%81%8f%e8%90%8c%e3%81%88%e3%81%9f\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Pound\u3059\u3054\u304f\u840c\u3048\u305f | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta property=\"og:description\" content=\"ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/ecpplus.net\/weblog\/pound%e3%81%99%e3%81%94%e3%81%8f%e8%90%8c%e3%81%88%e3%81%9f\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1500\" \/>\n\t\t<meta property=\"article:tag\" content=\"development\" \/>\n\t\t<meta property=\"article:tag\" content=\"linux\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2007-02-28T15:23:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-24T14:23:04+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ecpplus\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Pound\u3059\u3054\u304f\u840c\u3048\u305f | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta name=\"twitter:description\" content=\"ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@ecpplus\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2021\/06\/backpack_man.jpg\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Pound\u3059\u3054\u304f\u840c\u3048\u305f | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","description":"ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570","canonical_url":"https:\/\/ecpplus.net\/weblog\/pound%e3%81%99%e3%81%94%e3%81%8f%e8%90%8c%e3%81%88%e3%81%9f\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ja_JP","og:site_name":"\u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","og:type":"article","og:title":"Pound\u3059\u3054\u304f\u840c\u3048\u305f | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","og:description":"ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570","og:url":"https:\/\/ecpplus.net\/weblog\/pound%e3%81%99%e3%81%94%e3%81%8f%e8%90%8c%e3%81%88%e3%81%9f\/","og:image":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg","og:image:secure_url":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg","og:image:width":1500,"og:image:height":1500,"article:tag":["development","linux"],"article:published_time":"2007-02-28T15:23:20+00:00","article:modified_time":"2020-05-24T14:23:04+00:00","twitter:card":"summary_large_image","twitter:site":"@ecpplus","twitter:title":"Pound\u3059\u3054\u304f\u840c\u3048\u305f | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","twitter:description":"ReverseProxy \u3068 LoadBalancing \u3057\u3066\u304f\u308c\u308bPound\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u3001\u8907\u6570","twitter:creator":"@ecpplus","twitter:image":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2021\/06\/backpack_man.jpg"},"aioseo_meta_data":{"post_id":"387","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-02 06:26:46","updated":"2022-09-29 11:14:18","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ecpplus.net\/weblog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ecpplus.net\/weblog\/category\/development\/\" title=\"Development\">Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPound\u3059\u3054\u304f\u840c\u3048\u305f\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/ecpplus.net\/weblog"},{"label":"Development","link":"https:\/\/ecpplus.net\/weblog\/category\/development\/"},{"label":"Pound\u3059\u3054\u304f\u840c\u3048\u305f","link":"https:\/\/ecpplus.net\/weblog\/pound%e3%81%99%e3%81%94%e3%81%8f%e8%90%8c%e3%81%88%e3%81%9f\/"}],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=387"}],"version-history":[{"count":1,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":2264,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/387\/revisions\/2264"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}