Permalink
Browse files

Merge pull request #20 from shibayu36/initialize-to-01

initializeを01固定で向ける
  • Loading branch information...
shibayu36 committed Sep 16, 2018
2 parents b280ea6 + d2e78f4 commit 2ee0b1c2e1425616190982b86a4a4ed45d861b04
Showing with 17 additions and 0 deletions.
  1. +17 −0 conf/nginx.conf
@@ -43,6 +43,18 @@ http {
#gzip on;
upstream isucon1 {
server 172.17.65.1:8080 fail_timeout=0;
}
upstream isucon2 {
server 172.17.65.2:8080 fail_timeout=0;
}
upstream isucon3 {
server 172.17.65.3:8080 fail_timeout=0;
}
upstream app {
server 172.17.65.1:8080 fail_timeout=0;
server 172.17.65.2:8080 fail_timeout=0;
@@ -63,6 +75,11 @@ http {
location /js/ { }
location /css/ { }
location /initialize {
proxy_set_header Host $http_host;
proxy_pass http://isucon1;
}
location / {
proxy_set_header Host $http_host;
proxy_pass http://app;

0 comments on commit 2ee0b1c

Please sign in to comment.