Commit 9c14e236 by lizefeng

fix

parent e6860f8c
...@@ -200,7 +200,7 @@ http { ...@@ -200,7 +200,7 @@ 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-Origin' "hr.bailuntec.com" always;
add_header 'Access-Control-Allow-Credentials' 'true' 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