nginx ã® upstream, consistent hash ã®æåã«ã¤ã㦠nginx ã§ãªãã¼ã¹ãããã·ãä½ãéã«ãåã URL ã¸ã®ã¢ã¯ã»ã¹ã¯åããµã¼ãã¼ã«æµãããå ´åãããã¾ãã ããã¯ã¨ã³ãå´ã§ã³ã³ãã³ãã®ãã£ãã·ã¥ããã¦ããå ´åçã§ãã nginx ã§ä»¥ä¸ã®ããã«è¨å®ããå ´åããµã¼ãã¼ã®è¿½å ãåé¤ã§é¸ã°ãã対象ãã©ã®ããã«å¤åããã®ã調æ»ãã¾ããã upstream myapp1 { hash $host$uri consistent; server 127.0.0.1:10080 max_fails=100 fail_timeout=10; server 127.0.0.2:10080 max_fails=100 fail_timeout=10; server 127.0.0.3:10080 max_fails=100 fail_timeout=10; server 1
{{#tags}}- {{label}}
{{/tags}}