You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rap2-delos/APP-META/docker-config/environment/cai/conf/nginx-proxy.conf

27 lines
590 B
Plaintext

server {
listen 80 default_server;
server_name www.taobao.com;
location / {
proxy_pass http://127.0.0.1:6001;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
error_page 400 403 405 408 410 411 412 413 414 415 /error.html;
error_page 501 502 503 506 /error.html;
error_page 404 /404.json;
error_page 500 /500.json;
}
server {
listen 80;
server_name status.taobao.com;
tmd off;
location = /nginx_status {
stub_status on;
}
}