Commit d11dbd39 by wutong

Nginx CD/CI

parent 80657104
...@@ -58,22 +58,6 @@ http { ...@@ -58,22 +58,6 @@ http {
application/octet-stream application/octet-stream
text/x-cross-domain-policy; text/x-cross-domain-policy;
server {
listen 80;
server_name 111.230.84.223;
root /usr/share/nginx/html;
location /index {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# try_files $uri $uri/ /index.html last;
try_files index.html;
}
location = /50x.html {
root html;
}
}
server { server {
listen 80; listen 80;
...@@ -86,21 +70,7 @@ http { ...@@ -86,21 +70,7 @@ http {
} }
} }
server {
listen 80;
server_name 111.230.84.223;
resolver 114.114.114.114 223.5.5.5 valid=3600s;
location /crm {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://crm.bailuntec.com;
}
location = /50x.html {
root html;
}
}
include servers/*; include servers/*;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment