Skip to content

Commit

Permalink
Merge pull request #74 from awslabs/yanbasic/feature/org
Browse files Browse the repository at this point in the history
fix(be): add SCP headers in nginx config
  • Loading branch information
nowfox authored May 14, 2023
2 parents 2e78221 + 9a974e6 commit a8e877d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/portal/nginx-config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ http {
proxy_hide_header X-Powered-By;
add_header X-Frame-Options deny;
add_header X-Content-Type-Options nosniff;
add_header Content-Security-Policy "default-src 'self' *.okta.com tmnk.net; img-src 'self' blob: data:; style-src 'self' 'unsafe-inline' blob: data:; font-src 'self' blob: data:; script-src 'self' 'unsafe-inline' 'unsafe-eval';";
if ($request_method !~ ^(GET|HEAD|POST)$ ) {
return 444;
}
Expand Down

0 comments on commit a8e877d

Please sign in to comment.