Authored by bblu

修改模板

... ... @@ -90,15 +90,10 @@ http
lua_package_path "/Data/local/openresty-1.9.15.1/nginx/conf/lua/?.lua;;";
init_by_lua_file "conf/lua/init_lua.lua";
#upstream web
upstream oldservice {
server service.api.yohobuy.com ;
}
upstream oldapi {
server api.open.yohobuy.com ;
}
upstream mapi {
server 172.31.55.207 max_fails=5 fail_timeout=3s weight=10;
server 172.31.56.135 max_fails=5 fail_timeout=3s weight=50;
}
#brower service
upstream brower {
... ... @@ -125,22 +120,21 @@ http
upstream apigateway {
{@{#each ips}@}server {@{this}@}:8080 max_fails=5 fail_timeout=3s;
{@{/each}@}
keepalive 32;
}
upstream grayapigateway {
{@{#each grayips}@}server {@{this}@}:8080 max_fails=5 fail_timeout=3s;
{@{/each}@}
keepalive 32;
}
}
upstream pay.yohobuy.com {
server 172.31.55.207 max_fails=5 fail_timeout=3s weight=10;
server 172.31.56.135 max_fails=5 fail_timeout=3s weight=50;
}
upstream www.yohobuy.com {
server www.yohobuy.com;
... ...