location /usercenter-service {
more_clear_headers "Access-Control-Allow-Origin";
more_clear_headers "Access-Control-Allow-Methods";
more_clear_headers "Access-Control-Allow-Headers";
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, PUT,DELETE';
add_header Access-Control-Allow-Headers 'Origin, X-Requested-With, Content-Type, Accept';
if ($request_method = 'OPTIONS') {
return 204;
}
proxy_pass http://172.19.39.146:9055/usercenter-service;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 4;
proxy_send_timeout 1200;
proxy_read_timeout 1200;
}
scp -rCv 139.224.64.2:/data/nacos /data/
scp -rCv 139.224.64.2:/data/jenkinsworkspace/webapp/ruiY/dean-service-0.0.1-SNAPSHOT.jar /data/jenkinsworkspace/webapp/
docker cp mmp.sql.gz f687c81e7a49:/
docker exec -i ly-mysql mysqldump -uroot -pweye@2419 --all-databases > /data/dbback/113-all-"$ssday".sql