{"id":2638,"date":"2024-05-05T23:32:36","date_gmt":"2024-05-05T14:32:36","guid":{"rendered":"http:\/\/daimaru-tech-blog.com\/?p=2633"},"modified":"2025-07-05T12:10:24","modified_gmt":"2025-07-05T03:10:24","slug":"__trashed-11","status":"publish","type":"post","link":"https:\/\/daimaru-tech-blog.com\/?p=2638","title":{"rendered":"\u3010Nginx\u69cb\u7bc9\u3011Nginx\u306eUpstream\u30e2\u30b8\u30e5\u30fc\u30eb\u3067Active-Standby\u69cb\u6210\u3092\u69cb\u7bc9\u3057\u3066\u307f\u305f"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u3053\u3093\u306b\u3061\u306f\u3002<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u300c\u3060\u3044\u307e\u308b\u300d<\/span><\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u30b5\u30fc\u30d0\u904b\u7528\u7de8\u3068\u3057\u3066\u3001<strong><span style=\"color:#008000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_green\">\u300cNginx\u300d\u306eUpstream\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5229\u7528<\/span><\/span><\/strong>\u3057\u3066\u307f\u305f\u306e\u3067\u3001<strong><span style=\"color:#008000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_green\">\u69cb\u7bc9\u65b9\u6cd5\u3084\u611f\u60f3\u3092\u307e\u3068\u3081<\/span><\/span><\/strong>\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<center><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-2776062481390161\"\n     crossorigin=\"anonymous\"><\/script>\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-format=\"autorelaxed\"\n     data-ad-client=\"ca-pub-2776062481390161\"\n     data-ad-slot=\"3964253637\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center>\n\n\n\n<h2 class=\"wp-block-heading\">Upstream\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>\u305d\u3082\u305d\u3082\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">Nginx\u306e\u300cUpstream\u300d\u3068\u306f\u300cNginx\u4e0a\u3067HTTP\u306b\u3088\u308b\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\u3092\u5b9f\u65bd\u3059\u308b\u305f\u3081\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u300d<\/span><\/span><\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u300cActive-Active\u300d\u3084\u300cActive-Standby\u300d\u306e\u8ca0\u8377\u5206\u6563\uff08\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\uff09\u304c\u3067\u304d\u3001\u30a2\u30af\u30bb\u30b9\u304c\u5927\u91cf\u306b\u3042\u308bWeb\u30b5\u30fc\u30d0\u7b49\u306e\u904b\u7528\u306b\u5f79\u306b\u7acb\u3061\u307e\u3059<\/span><\/span><\/strong>\u3002<\/p>\n\n\n\n<p><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_orange\">\u4e00\u90e8\u6a5f\u80fd\u306f\u6709\u6599\u7248\u3067\u306e\u5229\u7528<\/span><\/span><\/strong>\u3068\u306a\u308b\u307f\u305f\u3044\u3067\u3059\u304c\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u57fa\u672c\u306f\u7121\u6599\u7248\u3067\u5229\u7528\u3067\u304d\u308b\u306e\u3067\u500b\u4eba\u958b\u767a\u3067\u3042\u308c\u3070\u3001\u6709\u52b9\u6d3b\u7528\u3067\u304d\u308b<\/span><\/span><\/strong>\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"green\"><div class=\"c-balloon__icon -circle\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2022\/12\/\u30ed\u30dc\u30c3\u30c8_\u30a2\u30a4\u30b3\u30f3.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong><span style=\"color:#008000\" class=\"swl-inline-color\">\u500b\u4eba\u958b\u767a\u3067\u306f\u6975\u529b\u304a\u91d1\u306f\u304b\u3051\u305f\u304f\u306a\u3044\u3067\u3059\u3088\u306d\uff01<\/span><\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<p>Upstream\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u516c\u5f0fHP\uff1a<a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_upstream_module.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/nginx.org\/en\/docs\/http\/ngx_http_upstream_module.html<\/a><\/p>\n\n\n\n<center><!-- START MoshimoAffiliateEasyLink -->\n<script type=\"text\/javascript\">\n(function(b,c,f,g,a,d,e){b.MoshimoAffiliateObject=a;\nb[a]=b[a]||function(){arguments.currentScript=c.currentScript\n||c.scripts[c.scripts.length-2];(b[a].q=b[a].q||[]).push(arguments)};\nc.getElementById(a)||(d=c.createElement(f),d.src=g,\nd.id=a,e=c.getElementsByTagName(\"body\")[0],e.appendChild(d))})\n(window,document,\"script\",\"\/\/dn.msmstatic.com\/site\/cardlink\/bundle.js?20220329\",\"msmaflink\");\nmsmaflink({\"n\":\"nginx\u5b9f\u8df5\u30ac\u30a4\u30c9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u6e21\u8fba\u9ad8\u5fd7 ]\",\"b\":\"\",\"t\":\"\",\"d\":\"https:\\\/\\\/thumbnail.image.rakuten.co.jp\",\"c_p\":\"\",\"p\":[\"\\\/@0_mall\\\/rakutenkobo-ebooks\\\/cabinet\\\/7228\\\/2000004947228.jpg\"],\"u\":{\"u\":\"https:\\\/\\\/item.rakuten.co.jp\\\/rakutenkobo-ebooks\\\/defa0037389d3604900c12692b5f4807\\\/\",\"t\":\"rakuten\",\"r_v\":\"\"},\"v\":\"2.1\",\"b_l\":[{\"id\":2,\"u_tx\":\"Amazon\u3067\u307f\u308b\",\"u_bc\":\"#f79256\",\"u_url\":\"https:\\\/\\\/amzn.to\\\/3wlaNhC\",\"a_id\":0,\"p_id\":0,\"pl_id\":0,\"pc_id\":0,\"s_n\":\"custom_2\",\"u_so\":1},{\"id\":3,\"u_tx\":\"\u697d\u5929\u5e02\u5834\u3067\u898b\u308b\",\"u_bc\":\"#f76956\",\"u_url\":\"https:\\\/\\\/item.rakuten.co.jp\\\/rakutenkobo-ebooks\\\/defa0037389d3604900c12692b5f4807\\\/\",\"a_id\":3735106,\"p_id\":54,\"pl_id\":27059,\"pc_id\":54,\"s_n\":\"rakuten\",\"u_so\":2}],\"eid\":\"3DmZ6\",\"s\":\"l\"});\n<\/script>\n<div id=\"msmaflink-3DmZ6\">\u30ea\u30f3\u30af<\/div>\n<!-- MoshimoAffiliateEasyLink END --><\/center>\n\n\n\n<h2 class=\"wp-block-heading\">\u4eca\u56de\u306f\u300cActive-Standby\u69cb\u6210\u300d\u3067\u69cb\u7bc9<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step1\uff1a\u69cb\u7bc9\u3057\u305f\u3044\u69cb\u6210\u30fb\u52d5\u4f5c\u306b\u3064\u3044\u3066<\/h3>\n\n\n\n<p>\u4eca\u56de\u4f5c\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u305f\u69cb\u6210\u306f\u3001\u4ee5\u4e0b\u306e\u56f3\u306e\u901a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group has-border -border02\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<center><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" version=\"1.1\" width=\"633px\" viewBox=\"-0.5 -0.5 633 482\" content=\"&lt;mxfile host=&quot;Electron&quot; modified=&quot;2024-05-03T02:09:35.694Z&quot; agent=&quot;Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) draw.io\/21.6.5 Chrome\/114.0.5735.243 Electron\/25.3.1 Safari\/537.36&quot; etag=&quot;tgHkzNBsym2Zi2MEpbcM&quot; version=&quot;21.6.5&quot; type=&quot;device&quot;&gt;&#10;  &lt;diagram name=&quot;Page-1&quot; id=&quot;xMQK-uBBPdQDl0UjnTi5&quot;&gt;&#10;    &lt;mxGraphModel dx=&quot;954&quot; dy=&quot;674&quot; grid=&quot;1&quot; gridSize=&quot;10&quot; guides=&quot;1&quot; tooltips=&quot;1&quot; connect=&quot;1&quot; arrows=&quot;1&quot; fold=&quot;1&quot; page=&quot;1&quot; pageScale=&quot;1&quot; pageWidth=&quot;1654&quot; pageHeight=&quot;1169&quot; math=&quot;0&quot; shadow=&quot;0&quot;&gt;&#10;      &lt;root&gt;&#10;        &lt;mxCell id=&quot;0&quot; \/&gt;&#10;        &lt;mxCell id=&quot;1&quot; parent=&quot;0&quot; \/&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-13&quot; style=&quot;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;strokeWidth=3;&quot; edge=&quot;1&quot; parent=&quot;1&quot; source=&quot;l21vpu6qGGlXWXZO8S7v-1&quot; target=&quot;l21vpu6qGGlXWXZO8S7v-7&quot;&gt;&#10;          &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-1&quot; value=&quot;&quot; style=&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#FF8000;strokeWidth=3;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;370&quot; y=&quot;190&quot; width=&quot;210&quot; height=&quot;60&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-2&quot; value=&quot;&quot; style=&quot;dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.weblogos.amazon&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;380&quot; y=&quot;200&quot; width=&quot;50&quot; height=&quot;40&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-3&quot; value=&quot;&amp;lt;font style=&amp;quot;font-size: 28px;&amp;quot;&amp;gt;EC2&amp;amp;nbsp;&amp;lt;\/font&amp;gt;&quot; style=&quot;text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#000000;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;430&quot; y=&quot;205&quot; width=&quot;125&quot; height=&quot;30&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-5&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.55;exitY=0.95;exitDx=0;exitDy=0;exitPerimeter=0;endArrow=none;endFill=0;strokeWidth=3;&quot; edge=&quot;1&quot; parent=&quot;1&quot; source=&quot;l21vpu6qGGlXWXZO8S7v-4&quot; target=&quot;l21vpu6qGGlXWXZO8S7v-1&quot;&gt;&#10;          &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-4&quot; value=&quot;&amp;lt;font color=&amp;quot;#0000ff&amp;quot; style=&amp;quot;font-size: 16px;&amp;quot;&amp;gt;&amp;lt;b&amp;gt;\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8&amp;lt;\/b&amp;gt;&amp;lt;\/font&amp;gt;&quot; style=&quot;ellipse;shape=cloud;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#0000FF;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;338&quot; y=&quot;30&quot; width=&quot;250&quot; height=&quot;70&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-7&quot; value=&quot;&quot; style=&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#0000FF;strokeWidth=3;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;160&quot; y=&quot;430&quot; width=&quot;210&quot; height=&quot;70&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-9&quot; value=&quot;&amp;lt;font style=&amp;quot;font-size: 28px;&amp;quot;&amp;gt;Active&amp;lt;br&amp;gt;Server&amp;lt;br&amp;gt;&amp;lt;\/font&amp;gt;&quot; style=&quot;text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#0000FF;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;177.5&quot; y=&quot;450&quot; width=&quot;175&quot; height=&quot;30&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-10&quot; value=&quot;&quot; style=&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#FF0000;strokeWidth=3;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;580&quot; y=&quot;430&quot; width=&quot;210&quot; height=&quot;80&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-11&quot; value=&quot;&amp;lt;font style=&amp;quot;font-size: 28px;&amp;quot;&amp;gt;Standby&amp;lt;br&amp;gt;Server&amp;lt;br&amp;gt;&amp;lt;\/font&amp;gt;&quot; style=&quot;text;html=1;strokeColor=none;fillColor=#f8cecc;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#FF0000;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;597.5&quot; y=&quot;455&quot; width=&quot;175&quot; height=&quot;30&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-14&quot; style=&quot;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;strokeWidth=3;&quot; edge=&quot;1&quot; parent=&quot;1&quot; source=&quot;l21vpu6qGGlXWXZO8S7v-1&quot; target=&quot;l21vpu6qGGlXWXZO8S7v-10&quot;&gt;&#10;          &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot;&gt;&#10;            &lt;mxPoint x=&quot;485&quot; y=&quot;260&quot; as=&quot;sourcePoint&quot; \/&gt;&#10;            &lt;mxPoint x=&quot;275&quot; y=&quot;440&quot; as=&quot;targetPoint&quot; \/&gt;&#10;          &lt;\/mxGeometry&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-17&quot; value=&quot;&amp;lt;font style=&amp;quot;font-size: 18px;&amp;quot;&amp;gt;Active\u30b5\u30fc\u30d0\u304cDown\u6642\u306bStandby\u306b\u5207\u308a\u66ff\u3048&amp;lt;\/font&amp;gt;&quot; style=&quot;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#DB2843;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;281.25&quot; y=&quot;330&quot; width=&quot;387.5&quot; height=&quot;40&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;      &lt;\/root&gt;&#10;    &lt;\/mxGraphModel&gt;&#10;  &lt;\/diagram&gt;&#10;&lt;\/mxfile&gt;&#10;\" onclick=\"(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&amp;&amp;src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&amp;&amp;!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&amp;&amp;evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('https:\/\/viewer.diagrams.net\/?client=1&amp;page=0');}}})(this);\" style=\"cursor:pointer;max-width:100%;max-height:482px;\"><defs\/><g><path d=\"M 316 220 L 106 400\" fill=\"none\" stroke=\"rgb(0, 0, 0)\" stroke-width=\"3\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"\/><rect x=\"211\" y=\"160\" width=\"210\" height=\"60\" fill=\"#ffe6cc\" stroke=\"#ff8000\" stroke-width=\"3\" pointer-events=\"all\"\/><path d=\"M 257.91 199.19 C 257.12 199.69 256.47 199.85 255.77 199.4 C 254.53 198.63 253.08 197.54 251.93 196.03 C 250.16 197.29 248.15 198.81 245.19 199.38 C 242.98 199.75 240.01 200.24 235.83 199.16 C 231.79 198.05 229.83 194.95 229.83 192.51 C 229.83 189.67 230.08 186.26 236.16 183.48 C 241.43 181.61 246.1 181.8 250.46 181.38 L 250.41 178.6 C 250.35 178.21 250.21 176.58 247.12 175.82 C 245.33 175.47 243.07 175.83 241.57 176.78 C 240.82 177.35 240.32 177.97 240.13 178.91 C 240.03 179.29 239.32 179.86 238.5 179.75 C 236.24 179.48 234.61 179.37 231.94 179.19 C 231.34 179.15 230.76 178.57 231.02 177.95 C 231.52 175.63 232.93 174.28 234.52 173.12 C 236.94 171.67 239.41 170 247.74 170.12 C 254.97 170.3 260.31 173.19 260.31 177.62 L 260.42 190.09 C 260.42 191.43 261.07 192.41 261.43 192.89 L 263.3 194.68 C 263.63 195.03 263.67 195.4 263.28 195.77 Z M 250.43 185.62 C 246.36 185.61 243.16 186.2 241.4 187.76 C 240.52 188.68 239.89 189.81 240.34 191.92 C 240.65 193.07 241.4 193.88 242.65 194.28 C 244.32 194.62 245.39 194.64 247.19 193.79 C 249.04 192.8 250.43 190.73 250.43 188.95 L 250.43 185.62 Z\" fill=\"#353233\" stroke=\"none\" pointer-events=\"all\"\/><path d=\"M 267.47 206.59 C 267.1 206.69 266.78 206.59 266.94 206.17 C 267.49 205 268.07 204.13 268.6 202.41 C 268.73 201.96 268.76 201.35 267.27 201.22 C 265.33 201.07 263.71 201.29 261.97 201.39 C 261.45 201.4 261.3 201.06 261.63 200.88 C 264.21 199.91 266.27 199.28 270.23 199.98 C 270.87 200.12 270.92 200.23 270.97 200.74 C 271 202.86 269.91 205.05 267.47 206.59 Z M 221.42 200.71 C 221 200.36 221.58 199.67 222.23 200.01 C 226.75 202.67 234.4 205.46 243.34 206.02 C 249.52 206.32 256.1 206.1 265.2 202.64 C 265.8 202.42 266.39 202.4 266.59 202.76 C 266.78 203.28 266.56 203.56 266.32 203.71 C 262.11 206.74 256.2 208.53 251.37 209.15 C 243.68 210 237.49 209.24 231.29 206.62 C 227.46 205.04 224.19 203.05 221.42 200.71 Z\" fill=\"#f8981d\" stroke=\"none\" pointer-events=\"all\"\/><rect x=\"271\" y=\"175\" width=\"125\" height=\"30\" fill=\"none\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 123px; height: 1px; padding-top: 190px; margin-left: 272px;\"><div data-drawio-colors=\"color: #000000; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 28px;\">EC2\u00a0<\/font><\/div><\/div><\/div><\/foreignObject><text x=\"334\" y=\"194\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">EC2\u00a0<\/text><\/switch><\/g><path d=\"M 316.5 66.5 L 316.5 115 L 316 160\" fill=\"none\" stroke=\"rgb(0, 0, 0)\" stroke-width=\"3\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"\/><path d=\"M 241.5 17.5 C 191.5 17.5 179 35 219 38.5 C 179 46.2 224 63 256.5 56 C 279 70 354 70 379 56 C 429 56 429 42 397.75 35 C 429 21 379 7 335.25 14 C 304 3.5 254 3.5 241.5 17.5 Z\" fill=\"#dae8fc\" stroke=\"#0000ff\" stroke-miterlimit=\"10\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 248px; height: 1px; padding-top: 35px; margin-left: 180px;\"><div data-drawio-colors=\"color: rgb(0, 0, 0); \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 16px;\" color=\"#0000ff\"><b>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8<\/b><\/font><\/div><\/div><\/div><\/foreignObject><text x=\"304\" y=\"39\" fill=\"rgb(0, 0, 0)\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8<\/text><\/switch><\/g><rect x=\"1\" y=\"400\" width=\"210\" height=\"70\" fill=\"#dae8fc\" stroke=\"#0000ff\" stroke-width=\"3\" pointer-events=\"all\"\/><rect x=\"18.5\" y=\"420\" width=\"175\" height=\"30\" fill=\"none\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 173px; height: 1px; padding-top: 435px; margin-left: 20px;\"><div data-drawio-colors=\"color: #0000FF; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 255); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 28px;\">Active<br \/>Server<br \/><\/font><\/div><\/div><\/div><\/foreignObject><text x=\"106\" y=\"439\" fill=\"#0000FF\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Active&#8230;<\/text><\/switch><\/g><rect x=\"421\" y=\"400\" width=\"210\" height=\"80\" fill=\"#f8cecc\" stroke=\"#ff0000\" stroke-width=\"3\" pointer-events=\"all\"\/><rect x=\"438.5\" y=\"425\" width=\"175\" height=\"30\" fill=\"#f8cecc\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 173px; height: 1px; padding-top: 440px; margin-left: 440px;\"><div data-drawio-colors=\"color: #FF0000; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(255, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 28px;\">Standby<br \/>Server<br \/><\/font><\/div><\/div><\/div><\/foreignObject><text x=\"526\" y=\"444\" fill=\"#FF0000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Standby&#8230;<\/text><\/switch><\/g><path d=\"M 316 220 L 526 400\" fill=\"none\" stroke=\"rgb(0, 0, 0)\" stroke-width=\"3\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"\/><rect x=\"122.25\" y=\"300\" width=\"387.5\" height=\"40\" rx=\"5\" fill=\"#db2843\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 380px; height: 1px; padding-top: 320px; margin-left: 126px;\"><div data-drawio-colors=\"color: #FFFFFF; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 14px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 18px;\">Active\u30b5\u30fc\u30d0\u304cDown\u6642\u306bStandby\u306b\u5207\u308a\u66ff\u3048<\/font><\/div><\/div><\/div><\/foreignObject><text x=\"316\" y=\"324\" fill=\"#FFFFFF\" font-family=\"Helvetica\" font-size=\"14px\" text-anchor=\"middle\" font-weight=\"bold\">Active\u30b5\u30fc\u30d0\u304cDown\u6642\u306bStandby\u306b\u5207\u308a\u66ff\u3048<\/text><\/switch><\/g><\/g><switch><g requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\/><a transform=\"translate(0,-5)\" xlink:href=\"https:\/\/www.drawio.com\/doc\/faq\/svg-export-text-problems\" target=\"_blank\" rel=\"noopener\"><text text-anchor=\"middle\" font-size=\"10px\" x=\"50%\" y=\"100%\">Text is not SVG &#8211; cannot display<\/text><\/a><\/switch><\/svg><\/center>\n<\/div><\/div>\n\n\n\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u3053\u306e\u69cb\u6210\u3092\u4f5c\u308a\u305f\u304b\u3063\u305f\u7406\u7531\u306f\u300c\u30d6\u30ed\u30b0\u306e\u66f4\u306a\u308b\u5b89\u5b9a\u904b\u7528\u306b\u3064\u306a\u3052\u305f\u3044\u300d\u305f\u3081<\/span><\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4ed6\u8a18\u4e8b\u3067\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u304c\u3001<strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_orange\">\u73fe\u5728\u5229\u7528\u3057\u3066\u3044\u308b\u30e1\u30a4\u30f3\u30b5\u30fc\u30d0\u306fESXi\u306e\u672a\u30b5\u30dd\u30fc\u30c8\u306e\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u3068NIC<\/span><\/span><\/strong>\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/daimaru-tech-blog.com\/?p=398\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/daimaru-tech-blog.com\/?p=535\n<\/div><\/figure>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001<strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_orange\">\u5ea6\u3005\u3001\u30d1\u30fc\u30d7\u30eb\u753b\u9762\u3084NIC\u304c\u4e0d\u5b89\u5b9a\u3068\u306a\u308a\u63a5\u7d9a\u65ad\u304c\u767a\u751f<\/span><\/span><\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"blue\"><div class=\"c-balloon__icon -circle\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/daimaru-tech-blog.com\/wp-content\/uploads\/2022\/12\/cropped-\u3060\u3044\u307e\u308b.webp\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\">\u6700\u8fd1\u306f\u4e21\u65b9\u3068\u3082\u5b89\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u30fb\u30fb\u30fb\u30fb<\/span><\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<p><strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_orange\">NIC\u306e\u4e0d\u5b89\u5b9a\u72b6\u614b\u3082\u9577\u3044\u3068\u300c30\u5206\u300d\u7a0b\u5ea6\u306e\u63a5\u7d9a\u65ad\u304c\u767a\u751f\u3059\u308b\u3057\u3001\u5916\u51fa\u6642\u306b\u30d1\u30fc\u30d7\u30eb\u753b\u9762\u306b\u9077\u79fb\u3057\u305f\u5834\u5408\u3001\u7d99\u7d9a\u65ad<\/span><\/span><\/strong>\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3046\u3044\u3063\u305f\u6700\u60aa\u306e\u72b6\u6cc1\u3092\u9632\u3050\u305f\u3081\u306b\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5074\u306e\u30b5\u30fc\u30d0\u306b\u9077\u79fb\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<center><!-- START MoshimoAffiliateEasyLink -->\n<script type=\"text\/javascript\">\n(function(b,c,f,g,a,d,e){b.MoshimoAffiliateObject=a;\nb[a]=b[a]||function(){arguments.currentScript=c.currentScript\n||c.scripts[c.scripts.length-2];(b[a].q=b[a].q||[]).push(arguments)};\nc.getElementById(a)||(d=c.createElement(f),d.src=g,\nd.id=a,e=c.getElementsByTagName(\"body\")[0],e.appendChild(d))})\n(window,document,\"script\",\"\/\/dn.msmstatic.com\/site\/cardlink\/bundle.js?20220329\",\"msmaflink\");\nmsmaflink({\"n\":\"GXTRACE \u30b2\u30fc\u30df\u30f3\u30b0\u30c1\u30a7\u30a2 \u30b2\u30fc\u30e0 \u6905\u5b50 \u30aa\u30c3\u30c8\u30de\u30f3\u4ed8\u304d \u6607\u964d\u30a2\u30fc\u30e0\u30ec\u30b9\u30c8 \u30aa\u30d5\u30a3\u30b9 \u30d1\u30bd\u30b3\u30f3 \u30c7\u30b9\u30af\u30c1\u30a7\u30a2 \u9ad8\u7d1aPU\u30ec\u30b6\u30fc \u30cf\u30a4\u30d0\u30c3\u30af 165\u00b0\u30ea\u30af\u30e9\u30a4\u30cb\u30f3\u30b0 \u30e9\u30f3\u30d0\u30fc\u30b5\u30dd\u30fc\u30c8 \u5ea7\u9762\u6607\u964d\u53ef\u80fd PC\u30c1\u30a7\u30a2\",\"b\":\"\",\"t\":\"\",\"d\":\"https:\\\/\\\/thumbnail.image.rakuten.co.jp\",\"c_p\":\"\",\"p\":[\"\\\/@0_mall\\\/happyhour1414\\\/cabinet\\\/g\\\/2\\\/e9rp0epzqn.jpg\"],\"u\":{\"u\":\"https:\\\/\\\/item.rakuten.co.jp\\\/happyhour1414\\\/gr-e9rp0epzqn\\\/\",\"t\":\"rakuten\",\"r_v\":\"\"},\"v\":\"2.1\",\"b_l\":[{\"id\":2,\"u_tx\":\"Amazon\u3067\u307f\u308b\",\"u_bc\":\"#f79256\",\"u_url\":\"https:\\\/\\\/amzn.to\\\/4dqYJMg\",\"a_id\":0,\"p_id\":0,\"pl_id\":0,\"pc_id\":0,\"s_n\":\"custom_2\",\"u_so\":1},{\"id\":3,\"u_tx\":\"\u697d\u5929\u5e02\u5834\u3067\u898b\u308b\",\"u_bc\":\"#f76956\",\"u_url\":\"https:\\\/\\\/item.rakuten.co.jp\\\/happyhour1414\\\/gr-e9rp0epzqn\\\/\",\"a_id\":3735106,\"p_id\":54,\"pl_id\":27059,\"pc_id\":54,\"s_n\":\"rakuten\",\"u_so\":2}],\"eid\":\"qcQmr\",\"s\":\"l\"});\n<\/script>\n<div id=\"msmaflink-qcQmr\">\u30ea\u30f3\u30af<\/div>\n<!-- MoshimoAffiliateEasyLink END --><\/center>\n\n\n\n<h3 class=\"wp-block-heading\">Step2\uff1a\u57fa\u672c\u3068\u306a\u308bConfig\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>\u69cb\u7bc9\u3057\u305f\u3044\u69cb\u6210\u3092\u8aac\u660e\u3057\u305f\u5f8c\u306f\u3001Upstream\u306e\u57fa\u672c\u3068\u306a\u308bConfig\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>http{\n upstream daimaru{\n   server x.x.x.x fail_timeout=1m max_fails=1;\n   server y.y.y.y backup;\n }\n server{\n   server_name daimaru-tech-blog.com;\n   location \/ {\n     proxy_next_upstream http_500 http_502 http_504 http_503;\n     proxy_next_upstream_timeout 15s;\n     proxy_next_upstream_tries 1;\n     proxy_pass http:\/\/daimaru\/;\n   }\n }\n}<\/code><\/pre>\n\n\n\n<p>\u4eca\u56de\u3001\u8ffd\u52a0\u3057\u305fConfig\u306f\u4e0a\u8a18\u306e\u901a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u57fa\u672c\u7684\u306bhttp\u914d\u4e0b\u306b\u5168\u3066\u8ffd\u52a0<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">\u300cupstream\u300d\u90e8\u5206\u306b\u8ca0\u8377\u5206\u6563\uff08\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\uff09\u3092\u884c\u3046\u30b5\u30fc\u30d0\u60c5\u5831\u3092\u8a18\u8f09\u3059\u308b\u30a4\u30e1\u30fc\u30b8<\/span><\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Upstream\u306eConfig\u4f5c\u6210<\/h4>\n\n\n\n<p>Upstream\u914d\u4e0b\u306eConfig\u306b\u306f\u3001\u8ca0\u8377\u5206\u6563\uff08\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\uff09\u3092\u884c\u3046\u30b5\u30fc\u30d0\u3084\u30eb\u30fc\u30eb\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306eConfig\u4f8b\u3092\u5229\u7528\u3057\u3066\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>upstream &lt;\u30b0\u30eb\u30fc\u30d7\u540d&gt;{\n   server &lt;\u30b5\u30fc\u30d0\u30a2\u30c9\u30ec\u30b9&gt; fail_timeout=1m max_fails=1;\n   server &lt;\u30b5\u30fc\u30d0\u30a2\u30c9\u30ec\u30b9&gt; backup;\n }<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-swl-pale-04-background-color has-background\"><tbody><tr><td data-has-cell-bg=\"1\" data-text-color=\"white\"><span style=\"--the-cell-bg: #0000ff\" data-text-color=\"white\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><span class=\"swl-inline-color has-white-color\"><strong>\u9805\u76ee<\/strong><\/span><\/td><td data-has-cell-bg=\"1\" data-text-color=\"white\"><span style=\"--the-cell-bg: #0000ff\" data-text-color=\"white\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><strong><span class=\"swl-inline-color has-white-color\">\u8a73\u7d30<\/span><\/strong><\/td><\/tr><tr><td>upstream &lt;\u30b0\u30eb\u30fc\u30d7\u540d&gt;<\/td><td>\u8ca0\u8377\u5206\u6563\u3092\u884c\u3046\u30b5\u30fc\u30d0\u306e\u6307\u5b9a\u3084\u30eb\u30fc\u30eb\u8a18\u8f09\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u8a2d\u5b9a<\/td><\/tr><tr><td>server &lt;\u30b5\u30fc\u30d0\u30a2\u30c9\u30ec\u30b9&gt;<\/td><td>\u8ca0\u8377\u5206\u6563\u3092\u884c\u3046\u30b5\u30fc\u30d0\u306e\u6307\u5b9a\uff08\u30a2\u30c9\u30ec\u30b9\u3084\u30c9\u30e1\u30a4\u30f3\u306e\u6307\u5b9a\u304c\u53ef\u80fd\uff09<\/td><\/tr><tr><td>fail_timeout<\/td><td>\u30b5\u30fc\u30d0Down\u6642\u3001\u5fa9\u65e7\u78ba\u8a8d\u307e\u3067\u306e\u6642\u9593<br>\u203b1m\u306e\u5834\u5408\uff1aDown\u3092\u691c\u77e5\u3057\u30011m\u7d4c\u904e\u3059\u308b\u307e\u3067\u306f\u5fa9\u65e7\u78ba\u8a8d\u3092\u884c\u308f\u306a\u3044<\/td><\/tr><tr><td>max_fails<\/td><td>\u30b5\u30fc\u30d0Down\u306e\u5224\u5b9a\u57fa\u6e96\u3068\u306a\u308b\u30a2\u30af\u30bb\u30b9\u5931\u6557\u56de\u6570<br>\u203b\u30a2\u30af\u30bb\u30b9\u5931\u6557\uff1a\u5225\u306eConfig\u3067\u5b9a\u7fa9<\/td><\/tr><tr><td>backup<\/td><td>\u4ed6\u30b5\u30fc\u30d0\u304c\u5168\u3066Down\u3057\u305f\u969b\u306b\u63a5\u7d9a\u3059\u308b\u30b5\u30fc\u30d0<\/td><\/tr><tr><td>down<\/td><td>\u610f\u56f3\u7684\u306bdown\u3068\u3059\u308b\u305f\u3081\u306eConfig<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">location\u914d\u4e0b\u306eConfig<\/h4>\n\n\n\n<p>location\u914d\u4e0b\u306eConfig\u3067\u306f\u3001<strong><span style=\"color:#0000ff\" class=\"swl-inline-color\"><span class=\"swl-marker mark_blue\">upstream\u8aac\u660e\u6642\u306b\u89e6\u308c\u305f\u30a2\u30af\u30bb\u30b9\u5931\u6557\u306e\u57fa\u6e96\u3092\u5b9a\u7fa9<\/span><\/span><\/strong>\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>location \/ {\n     proxy_next_upstream http_500 http_502 http_504 http_503;\n     proxy_next_upstream_timeout 15s;\n     proxy_next_upstream_tries 1;\n     proxy_pass http:\/\/daimaru\/;\n   }<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-swl-pale-04-background-color has-background\"><tbody><tr><td data-has-cell-bg=\"1\" data-text-color=\"white\"><span style=\"--the-cell-bg: #0000ff\" data-text-color=\"white\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><span class=\"swl-inline-color has-white-color\"><strong>\u9805\u76ee<\/strong><\/span><\/td><td data-has-cell-bg=\"1\" data-text-color=\"white\"><span style=\"--the-cell-bg: #0000ff\" data-text-color=\"white\" aria-hidden=\"true\" class=\"swl-cell-bg\">&nbsp;<\/span><strong><span class=\"swl-inline-color has-white-color\">\u8a73\u7d30<\/span><\/strong><\/td><\/tr><tr><td>proxy_next_upstream &lt;\u6307\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3&gt;<\/td><td>\u6307\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u56de\u7b54\u304c\u3042\u3063\u305f\u5834\u5408\u3001\u5931\u6557\u3082\u3057\u304f\u306f\u4ed6\u30b5\u30fc\u30d0\u3078\u306e\u518d\u63a5\u7d9a\u3092\u5b9f\u65bd<br>\u203b\u30aa\u30d7\u30b7\u30e7\u30f3\uff1a<a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_proxy_module.html#proxy_next_upstream\">\u516c\u5f0fHP\u53c2\u7167<\/a><\/td><\/tr><tr><td>proxy_next_upstream_timeout &lt;\u6642\u9593&gt;<\/td><td>\u30a2\u30af\u30bb\u30b9\u8a66\u884c\u6642\u9593\uff08\u6307\u5b9a\u6642\u9593\u7d4c\u904e\u5f8c\u3001\u5931\u6557\u3068\u5224\u5b9a\uff09<\/td><\/tr><tr><td>proxy_next_upstream_tries &lt;\u56de\u6570&gt;<\/td><td>\u30a2\u30af\u30bb\u30b9\u5931\u6557\u6642\u306b\u518d\u63a5\u7d9a\u3092\u5b9f\u65bd\u3059\u308b\u30b5\u30fc\u30d0\u6570<br>\u203b\u30e1\u30a4\u30f3\u30b5\u30fc\u30d0\u304c2\u53f0\u306e\u5834\u5408\u306f\u300c2\u300d\u3068\u3059\u308b<\/td><\/tr><tr><td>proxy_pass &lt;\u63a5\u7d9a\u5148&gt;<\/td><td>\u30d7\u30ed\u30ad\u30b7\u5148\u306e\u30b5\u30fc\u30d0\u6307\u5b9a<br>\u203bupsream\u5229\u7528\u6642\u306f\u30b0\u30eb\u30fc\u30d7\u540d\u3092\u8a18\u8f09<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u57fa\u672c\u3068\u306a\u308b\u8a2d\u5b9a\u306f\u4e0a\u8a18\uff12\u3064\u3067\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u5b9f\u969b\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step3\uff1aConfig\u9069\u7528\u5f8c\u306f\u52d5\u4f5c\u78ba\u8a8d\u3068\u305d\u306e\u611f\u60f3<\/h3>\n\n\n\n<p>Active\u5074\u306e\u30b5\u30fc\u30d0\u3092\u843d\u3068\u3057\u3001\u671f\u5f85\u901a\u308a\u306bStandby\u5074\u306b\u5207\u308a\u66ff\u308f\u308b\u306e\u304b\u307f\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-group has-border -border04\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<center><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" version=\"1.1\" width=\"633px\" viewBox=\"-0.5 -0.5 633 482\" content=\"&lt;mxfile host=&quot;Electron&quot; modified=&quot;2024-05-03T11:25:06.250Z&quot; agent=&quot;Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) draw.io\/21.6.5 Chrome\/114.0.5735.243 Electron\/25.3.1 Safari\/537.36&quot; etag=&quot;-k2WE2Xrv-L5RIASohgr&quot; version=&quot;21.6.5&quot; type=&quot;device&quot;&gt;&#10;  &lt;diagram name=&quot;Page-1&quot; id=&quot;xMQK-uBBPdQDl0UjnTi5&quot;&gt;&#10;    &lt;mxGraphModel dx=&quot;954&quot; dy=&quot;674&quot; grid=&quot;1&quot; gridSize=&quot;10&quot; guides=&quot;1&quot; tooltips=&quot;1&quot; connect=&quot;1&quot; arrows=&quot;1&quot; fold=&quot;1&quot; page=&quot;1&quot; pageScale=&quot;1&quot; pageWidth=&quot;1654&quot; pageHeight=&quot;1169&quot; math=&quot;0&quot; shadow=&quot;0&quot;&gt;&#10;      &lt;root&gt;&#10;        &lt;mxCell id=&quot;0&quot; \/&gt;&#10;        &lt;mxCell id=&quot;1&quot; parent=&quot;0&quot; \/&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-13&quot; style=&quot;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;strokeWidth=3;dashed=1;strokeColor=#808080;&quot; parent=&quot;1&quot; source=&quot;l21vpu6qGGlXWXZO8S7v-1&quot; target=&quot;l21vpu6qGGlXWXZO8S7v-7&quot; edge=&quot;1&quot;&gt;&#10;          &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-1&quot; value=&quot;&quot; style=&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#FF8000;strokeWidth=3;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;370&quot; y=&quot;190&quot; width=&quot;210&quot; height=&quot;60&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-2&quot; value=&quot;&quot; style=&quot;dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.weblogos.amazon&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;380&quot; y=&quot;200&quot; width=&quot;50&quot; height=&quot;40&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-3&quot; value=&quot;&amp;lt;font style=&amp;quot;font-size: 28px;&amp;quot;&amp;gt;EC2&amp;amp;nbsp;&amp;lt;\/font&amp;gt;&quot; style=&quot;text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#000000;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;430&quot; y=&quot;205&quot; width=&quot;125&quot; height=&quot;30&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-5&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.55;exitY=0.95;exitDx=0;exitDy=0;exitPerimeter=0;endArrow=none;endFill=0;strokeWidth=3;&quot; parent=&quot;1&quot; source=&quot;l21vpu6qGGlXWXZO8S7v-4&quot; target=&quot;l21vpu6qGGlXWXZO8S7v-1&quot; edge=&quot;1&quot;&gt;&#10;          &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-4&quot; value=&quot;&amp;lt;font color=&amp;quot;#0000ff&amp;quot; style=&amp;quot;font-size: 16px;&amp;quot;&amp;gt;&amp;lt;b&amp;gt;\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8&amp;lt;\/b&amp;gt;&amp;lt;\/font&amp;gt;&quot; style=&quot;ellipse;shape=cloud;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#0000FF;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;338&quot; y=&quot;30&quot; width=&quot;250&quot; height=&quot;70&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-7&quot; value=&quot;&quot; style=&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;strokeWidth=3;fontColor=#333333;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;160&quot; y=&quot;430&quot; width=&quot;210&quot; height=&quot;70&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-9&quot; value=&quot;&amp;lt;font style=&amp;quot;font-size: 28px;&amp;quot;&amp;gt;Active&amp;lt;br&amp;gt;Server&amp;lt;br&amp;gt;&amp;lt;\/font&amp;gt;&quot; style=&quot;text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#808080;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;177.5&quot; y=&quot;450&quot; width=&quot;175&quot; height=&quot;30&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-10&quot; value=&quot;&quot; style=&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#FF0000;strokeWidth=3;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;580&quot; y=&quot;430&quot; width=&quot;210&quot; height=&quot;80&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-11&quot; value=&quot;&amp;lt;font style=&amp;quot;font-size: 28px;&amp;quot;&amp;gt;Standby&amp;lt;br&amp;gt;Server&amp;lt;br&amp;gt;&amp;lt;\/font&amp;gt;&quot; style=&quot;text;html=1;strokeColor=none;fillColor=#f8cecc;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#FF0000;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;597.5&quot; y=&quot;455&quot; width=&quot;175&quot; height=&quot;30&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-14&quot; style=&quot;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;strokeWidth=3;&quot; parent=&quot;1&quot; source=&quot;l21vpu6qGGlXWXZO8S7v-1&quot; target=&quot;l21vpu6qGGlXWXZO8S7v-10&quot; edge=&quot;1&quot;&gt;&#10;          &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot;&gt;&#10;            &lt;mxPoint x=&quot;485&quot; y=&quot;260&quot; as=&quot;sourcePoint&quot; \/&gt;&#10;            &lt;mxPoint x=&quot;275&quot; y=&quot;440&quot; as=&quot;targetPoint&quot; \/&gt;&#10;          &lt;\/mxGeometry&gt;&#10;        &lt;\/mxCell&gt;&#10;        &lt;mxCell id=&quot;l21vpu6qGGlXWXZO8S7v-17&quot; value=&quot;&amp;lt;span style=&amp;quot;font-size: 18px;&amp;quot;&amp;gt;Active\u30b5\u30fc\u30d0\u3092Down\u3055\u305b\u3001&amp;lt;br&amp;gt;Standby\u306b\u5207\u308a\u66ff\u3048\u308b&amp;lt;\/span&amp;gt;&quot; style=&quot;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#DB2843;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;&quot; parent=&quot;1&quot; vertex=&quot;1&quot;&gt;&#10;          &lt;mxGeometry x=&quot;281.25&quot; y=&quot;310&quot; width=&quot;387.5&quot; height=&quot;60&quot; as=&quot;geometry&quot; \/&gt;&#10;        &lt;\/mxCell&gt;&#10;      &lt;\/root&gt;&#10;    &lt;\/mxGraphModel&gt;&#10;  &lt;\/diagram&gt;&#10;&lt;\/mxfile&gt;&#10;\" onclick=\"(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&amp;&amp;src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&amp;&amp;!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&amp;&amp;evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('https:\/\/viewer.diagrams.net\/?client=1&amp;page=0');}}})(this);\" style=\"cursor:pointer;max-width:100%;max-height:482px;\"><defs\/><g><path d=\"M 316 220 L 106 400\" fill=\"none\" stroke=\"#808080\" stroke-width=\"3\" stroke-miterlimit=\"10\" stroke-dasharray=\"9 9\" pointer-events=\"stroke\"\/><rect x=\"211\" y=\"160\" width=\"210\" height=\"60\" fill=\"#ffe6cc\" stroke=\"#ff8000\" stroke-width=\"3\" pointer-events=\"all\"\/><path d=\"M 257.91 199.19 C 257.12 199.69 256.47 199.85 255.77 199.4 C 254.53 198.63 253.08 197.54 251.93 196.03 C 250.16 197.29 248.15 198.81 245.19 199.38 C 242.98 199.75 240.01 200.24 235.83 199.16 C 231.79 198.05 229.83 194.95 229.83 192.51 C 229.83 189.67 230.08 186.26 236.16 183.48 C 241.43 181.61 246.1 181.8 250.46 181.38 L 250.41 178.6 C 250.35 178.21 250.21 176.58 247.12 175.82 C 245.33 175.47 243.07 175.83 241.57 176.78 C 240.82 177.35 240.32 177.97 240.13 178.91 C 240.03 179.29 239.32 179.86 238.5 179.75 C 236.24 179.48 234.61 179.37 231.94 179.19 C 231.34 179.15 230.76 178.57 231.02 177.95 C 231.52 175.63 232.93 174.28 234.52 173.12 C 236.94 171.67 239.41 170 247.74 170.12 C 254.97 170.3 260.31 173.19 260.31 177.62 L 260.42 190.09 C 260.42 191.43 261.07 192.41 261.43 192.89 L 263.3 194.68 C 263.63 195.03 263.67 195.4 263.28 195.77 Z M 250.43 185.62 C 246.36 185.61 243.16 186.2 241.4 187.76 C 240.52 188.68 239.89 189.81 240.34 191.92 C 240.65 193.07 241.4 193.88 242.65 194.28 C 244.32 194.62 245.39 194.64 247.19 193.79 C 249.04 192.8 250.43 190.73 250.43 188.95 L 250.43 185.62 Z\" fill=\"#353233\" stroke=\"none\" pointer-events=\"all\"\/><path d=\"M 267.47 206.59 C 267.1 206.69 266.78 206.59 266.94 206.17 C 267.49 205 268.07 204.13 268.6 202.41 C 268.73 201.96 268.76 201.35 267.27 201.22 C 265.33 201.07 263.71 201.29 261.97 201.39 C 261.45 201.4 261.3 201.06 261.63 200.88 C 264.21 199.91 266.27 199.28 270.23 199.98 C 270.87 200.12 270.92 200.23 270.97 200.74 C 271 202.86 269.91 205.05 267.47 206.59 Z M 221.42 200.71 C 221 200.36 221.58 199.67 222.23 200.01 C 226.75 202.67 234.4 205.46 243.34 206.02 C 249.52 206.32 256.1 206.1 265.2 202.64 C 265.8 202.42 266.39 202.4 266.59 202.76 C 266.78 203.28 266.56 203.56 266.32 203.71 C 262.11 206.74 256.2 208.53 251.37 209.15 C 243.68 210 237.49 209.24 231.29 206.62 C 227.46 205.04 224.19 203.05 221.42 200.71 Z\" fill=\"#f8981d\" stroke=\"none\" pointer-events=\"all\"\/><rect x=\"271\" y=\"175\" width=\"125\" height=\"30\" fill=\"none\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 123px; height: 1px; padding-top: 190px; margin-left: 272px;\"><div data-drawio-colors=\"color: #000000; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 28px;\">EC2\u00a0<\/font><\/div><\/div><\/div><\/foreignObject><text x=\"334\" y=\"194\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">EC2\u00a0<\/text><\/switch><\/g><path d=\"M 316.5 66.5 L 316.5 115 L 316 160\" fill=\"none\" stroke=\"rgb(0, 0, 0)\" stroke-width=\"3\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"\/><path d=\"M 241.5 17.5 C 191.5 17.5 179 35 219 38.5 C 179 46.2 224 63 256.5 56 C 279 70 354 70 379 56 C 429 56 429 42 397.75 35 C 429 21 379 7 335.25 14 C 304 3.5 254 3.5 241.5 17.5 Z\" fill=\"#dae8fc\" stroke=\"#0000ff\" stroke-miterlimit=\"10\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 248px; height: 1px; padding-top: 35px; margin-left: 180px;\"><div data-drawio-colors=\"color: rgb(0, 0, 0); \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 16px;\" color=\"#0000ff\"><b>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8<\/b><\/font><\/div><\/div><\/div><\/foreignObject><text x=\"304\" y=\"39\" fill=\"rgb(0, 0, 0)\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8<\/text><\/switch><\/g><rect x=\"1\" y=\"400\" width=\"210\" height=\"70\" fill=\"#f5f5f5\" stroke=\"#666666\" stroke-width=\"3\" pointer-events=\"all\"\/><rect x=\"18.5\" y=\"420\" width=\"175\" height=\"30\" fill=\"none\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 173px; height: 1px; padding-top: 435px; margin-left: 20px;\"><div data-drawio-colors=\"color: #808080; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(128, 128, 128); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 28px;\">Active<br \/>Server<br \/><\/font><\/div><\/div><\/div><\/foreignObject><text x=\"106\" y=\"439\" fill=\"#808080\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Active&#8230;<\/text><\/switch><\/g><rect x=\"421\" y=\"400\" width=\"210\" height=\"80\" fill=\"#f8cecc\" stroke=\"#ff0000\" stroke-width=\"3\" pointer-events=\"all\"\/><rect x=\"438.5\" y=\"425\" width=\"175\" height=\"30\" fill=\"#f8cecc\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 173px; height: 1px; padding-top: 440px; margin-left: 440px;\"><div data-drawio-colors=\"color: #FF0000; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(255, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;\"><font style=\"font-size: 28px;\">Standby<br \/>Server<br \/><\/font><\/div><\/div><\/div><\/foreignObject><text x=\"526\" y=\"444\" fill=\"#FF0000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Standby&#8230;<\/text><\/switch><\/g><path d=\"M 316 220 L 526 400\" fill=\"none\" stroke=\"rgb(0, 0, 0)\" stroke-width=\"3\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"\/><rect x=\"122.25\" y=\"280\" width=\"387.5\" height=\"60\" rx=\"5\" fill=\"#db2843\" stroke=\"none\" pointer-events=\"all\"\/><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\" style=\"overflow: visible; text-align: left;\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 380px; height: 1px; padding-top: 310px; margin-left: 126px;\"><div data-drawio-colors=\"color: #FFFFFF; \" style=\"box-sizing: border-box; font-size: 0px; text-align: center;\"><div style=\"display: inline-block; font-size: 14px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;\"><span style=\"font-size: 18px;\">Active\u30b5\u30fc\u30d0\u3092Down\u3055\u305b\u3001<br \/>Standby\u306b\u5207\u308a\u66ff\u3048\u308b<\/span><\/div><\/div><\/div><\/foreignObject><text x=\"316\" y=\"314\" fill=\"#FFFFFF\" font-family=\"Helvetica\" font-size=\"14px\" text-anchor=\"middle\" font-weight=\"bold\">Active\u30b5\u30fc\u30d0\u3092Down\u3055\u305b\u3001&#8230;<\/text><\/switch><\/g><\/g><switch><g requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\/><a transform=\"translate(0,-5)\" xlink:href=\"https:\/\/www.drawio.com\/doc\/faq\/svg-export-text-problems\" target=\"_blank\" rel=\"noopener\"><text text-anchor=\"middle\" font-size=\"10px\" x=\"50%\" y=\"100%\">Text is not SVG &#8211; cannot display<\/text><\/a><\/switch><\/svg><\/center>\n<\/div><\/div>\n\n\n\n<p>\u7d50\u679c\u3001\u60f3\u5b9a\u901a\u308a\u3068\u307e\u3067\u306f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3001\u5207\u308a\u66ff\u308f\u308b\u3053\u3068\u306f\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001<strong><span style=\"color:#ff0000\" class=\"swl-inline-color\"><span class=\"swl-marker mark_orange\">\u5207\u308a\u66ff\u308f\u308b\u307e\u3067\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3044\u305f\u306e\u3068\u983b\u7e41\u306b\u30a8\u30e9\u30fc\u3068\u306a\u308b\u305f\u3081\u3001\u3042\u307e\u308a\u52b9\u679c\u7684\u306b\u306f\u4f7f\u3048\u306a\u3044\u306a<\/span><\/span><\/strong>\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u79c1\u306e\u4f7f\u3044\u65b9\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u3082\u3042\u308b\u305f\u3081\u3001<strong>\u4eca\u5f8c\u4fee\u6b63\u3059\u308b\u53ef\u80fd\u6027\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u306f\u975e\u5e38\u6642\u7528\u306e\u305f\u3081\u3060\u3051\u306b\u5229\u7528<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<center><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=3Z4XAY+2AR9V6+53GG+62U35\" rel=\"nofollow\">\n<img decoding=\"async\" border=\"0\" width=\"300\" height=\"250\" alt=\"\" src=\"https:\/\/www22.a8.net\/svt\/bgt?aid=240414874139&#038;wid=001&#038;eno=01&#038;mid=s00000023776001021000&#038;mc=1\"><\/a>\n<img decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/www14.a8.net\/0.gif?a8mat=3Z4XAY+2AR9V6+53GG+62U35\" alt=\"\"><\/center>\n\n\n\n<div class=\"swell-block-button blue_ is-style-btn_solid\"><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=3Z4XAY+2AR9V6+53GG+62U35\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"swell-block-button__link\"><span>\u80b2\u3066\u308b\u30bf\u30aa\u30eb\u306e\u8cfc\u5165\u306f\u30af\u30ea\u30c3\u30af<\/span><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u3001Nginx\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\uff11\u3064\u3067\u3042\u308b\u300cUpstream\u300d\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u307f\u306a\u3055\u3093\u306e\u30d6\u30ed\u30b0\u904b\u55b6\u7b49\u306b\u5f79\u306b\u7acb\u3066\u305f\u3089\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n<div class=\"p-postListWrap\"><p>\u8a18\u4e8b\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u3053\u3093\u306b\u3061\u306f\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u300c\u3060\u3044\u307e\u308b\u300d\u3067\u3059\u3002 \u4eca\u56de\u306f\u30b5\u30fc\u30d0\u904b\u7528\u7de8\u3068\u3057\u3066\u3001\u300cNginx\u300d\u306eUpstream\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u307f\u305f\u306e\u3067\u3001\u69cb\u7bc9\u65b9\u6cd5\u3084\u611f\u60f3\u3092\u307e\u3068\u3081\u3066\u3044\u304d\u307e\u3059\u3002 Upstream\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2640,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[609,621],"tags":[352,298,350,247,351,347,349,348],"class_list":["post-2638","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-609","category--tips","tag-active-standby","tag-http","tag-lb","tag-nginx","tag-upstream","tag-347","tag-349","tag-348"],"_links":{"self":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/2638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2638"}],"version-history":[{"count":1,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/2638\/revisions"}],"predecessor-version":[{"id":2641,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/2638\/revisions\/2641"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=\/wp\/v2\/media\/2640"}],"wp:attachment":[{"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daimaru-tech-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}