server {
listen 80 ;
server_name edu.m0571.com;
location / {
root /home/higherlevel/web-client/dist/;
index index.html;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
server {
listen 80 ;
server_name eduapi.m0571.com;
location / {
proxy_pass http://60.190.243.100:9098$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80 ;
server_name eduapi02.m0571.com;
location / {
proxy_pass http://60.190.243.100:9099$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80 ;
server_name tangapi.demwlxx.com;
location / {
proxy_pass http://60.190.243.100:9991$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80 ;
server_name tangapitest.demwlxx.com;
location / {
proxy_pass http://60.190.243.100:9992$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80 ;
server_name tang.demwlxx.com;
location / {
proxy_pass http://60.190.243.100:9992$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80 ;
server_name edumanager.m0571.com;
location / {
root /home/higherlevel/web-manage/dist/;
index index.html;
}
}
server {
listen 80 ;
server_name tangmanager.demwlxx.com;
location / {
root /home/tang/web-manager/dist/;
index index.html;
}
}
server {
listen 8889;
server_name tangmanager.demwlxx.com;
location / {
root /home/tang/web-manager-test/dist/;
index index.html;
}
}
server {
listen 80;
server_name tangys.demwlxx.com;
location / {
root /home/tang/privacy/dist/;
index index.html;
}
}
server {
listen 80;
server_name manualapi.demwlxx.com;
location / {
proxy_pass http://60.190.243.100:9892$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80;
server_name manualmanager.demwlxx.com;
location / {
root /home/heathmanual/manager/dist/;
index index.html;
}
}
server {
listen 80;
server_name manualh5.demwlxx.com;
location / {
root /home/heathmanual/h5/dist/;
index index.html;
}
}
server {
listen 8480;
server_name tangys.demwlxx.com;
location / {
root /home/product/manual/;
index index.html;
}
}
server {
listen 8481;
server_name tangys.demwlxx.com;
location / {
root /home/product/diabetes/;
index index.html;
}
}
server {
listen 8085;
server_name tangys.demwlxx.com;
location / {
root /home/txzb/;
index index.html;
}
}
server {
listen 80;
server_name duoermeiapi.demwlxx.com;
#server_name_in_redirect off;
#proxy_set_header Host $host:$server_port;
#proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header REMOTE-HOST $remote_addr;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / {
proxy_pass http://60.190.243.100:9999$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
# proxy_pass http://www.baidu.com;
#proxy_pass http://127.0.0.1:8080;
#proxy_set_header Host $host:9999; #这里修改为SLB监听的端口号
#proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header REMOTE-HOST $remote_addr;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
server {
listen 80;
listen 443 ssl;
server_name manualwx.demjkkj.com;
ssl_certificate /usr/local/nginx/cert/manualwx.pem;
ssl_certificate_key /usr/local/nginx/cert/manualwx.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
location / {
root /home/association/;
index index.html index.htm apple-app-site-association;
}
}