Skip to content

Commit

Permalink
Merge pull request steemit#1502 from steemit/cors-headers
Browse files Browse the repository at this point in the history
Update CORS headers
  • Loading branch information
jredbeard authored Sep 14, 2017
2 parents 300643a + 437b2b8 commit 236f5c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/healthcheck.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
add_header 'Access-Control-Allow-Origin' '*';
add_header Access-Control-Allow-Origin "*";
add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";
add_header Access-Control-Allow-Headers "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range";
add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload" always;
}
}
Expand Down

0 comments on commit 236f5c5

Please sign in to comment.