Skip to content

Commit

Permalink
Update healthcheck.conf.template
Browse files Browse the repository at this point in the history
Add Access-Control-Allow-Methods and Access-Control-Allow-Headers headers
  • Loading branch information
jnordberg committed Sep 4, 2017
1 parent 8bfb402 commit 23cfb98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/healthcheck.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' to '*';
add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload" always;
}
}
Expand Down

0 comments on commit 23cfb98

Please sign in to comment.