Commit e6860f8c by lizefeng

fix

parent 0f38b9db
...@@ -200,6 +200,8 @@ http { ...@@ -200,6 +200,8 @@ http {
server { server {
listen 80; listen 80;
server_name api.hr.bailuntec.com; server_name api.hr.bailuntec.com;
add_header 'Access-Control-Allow-Origin' "*" always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
location / { location / {
proxy_pass http://172.31.255.45; proxy_pass http://172.31.255.45;
} }
......
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