Authored by jimi

add web-other-nginx-conf

... ... @@ -204,4 +204,9 @@ http
include vhosts/yohobuypc.conf;
include vhosts/yohobuywap.conf;
include vhosts/yohoglobalbs.conf;
include vhosts/badjs.yoho.cn.conf;
include vhosts/ali-report.yohobuy.com.conf;
include vhosts/cprice.yohobuy.com.conf;
include vhosts/nwtm.yohobuy.com.conf;
include vhosts/yohoblk.com.conf;
}
... ...
server {
listen 80;
server_name ali-report.yohobuy.com;
#charset koi8-r;
access_log /Data/logs/nginx/access.ali-report.yohobuy.com.log fenxi;
error_log /Data/logs/nginx/error.ali-report.yohobuy.com.log error;
# nginx status check
location = /status_check {
default_type text/html;
return 200 'ali-report.yohobuy.com server is ok!';
}
location / {
proxy_redirect off;
proxy_pass http://yoho-web-new-inner;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Yoho-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
proxy_set_header Accept-Encoding "gzip";
}
}
\ No newline at end of file
... ...
server {
listen 80;
server_name badjs.yoho.cn;
#charset koi8-r;
access_log /Data/logs/nginx/access.badjs.yoho.cn.log fenxi;
error_log /Data/logs/nginx/error.badjs.yoho.cn.log error;
# nginx status check
location = /status_check {
default_type text/html;
return 200 'badjs.yoho.cn server is ok!';
}
location / {
proxy_redirect off;
proxy_pass http://yoho-web-new-inner;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Yoho-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
proxy_set_header Accept-Encoding "gzip";
}
}
\ No newline at end of file
... ...
server {
listen 80;
server_name cprice.yohobuy.com;
#charset koi8-r;
access_log /Data/logs/nginx/access.cprice.yohobuy.com.log fenxi;
error_log /Data/logs/nginx/error.cprice.yohobuy.com.log error;
# nginx status check
location = /status_check {
default_type text/html;
return 200 'cprice.yohobuy.com server is ok!';
}
location / {
proxy_redirect off;
proxy_pass http://yoho-web-new-inner;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Yoho-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
proxy_set_header Accept-Encoding "gzip";
}
}
\ No newline at end of file
... ...
server {
listen 80;
server_name nwtm.yohobuy.com;
#charset koi8-r;
access_log /Data/logs/nginx/access.nwtm.yohobuy.com.log fenxi;
error_log /Data/logs/nginx/error.nwtm.yohobuy.com.log error;
# nginx status check
location = /status_check {
default_type text/html;
return 200 'nwtm.yohobuy.com server is ok!';
}
location / {
proxy_redirect off;
proxy_pass http://yoho-web-new-inner;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Yoho-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
proxy_set_header Accept-Encoding "gzip";
}
}
\ No newline at end of file
... ...
server {
listen 80;
server_name m.yohoblk.com *.m.yohoblk.com;
#charset koi8-r;
access_log /Data/logs/nginx/access.m.yohoblk.com.log fenxi;
error_log /Data/logs/nginx/error.m.yohoblk.com.log error;
# nginx status check
location = /status_check {
default_type text/html;
return 200 'm.yohoblk.com server is ok!';
}
location / {
proxy_redirect off;
proxy_pass http://yoho-web-new-inner;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Yoho-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
proxy_set_header Accept-Encoding "gzip";
}
}
\ No newline at end of file
... ...