Skip to content

Commit ed4304a

Browse files
Configure allowed hosts (#240)
1 parent 41cdcbd commit ed4304a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

conf/application.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ play {
2222
headers {
2323
contentSecurityPolicy="default-src 'self'; img-src 'self' avatars.githubusercontent.com www.google-analytics.com d379ifj7s9wntv.cloudfront.net; font-src 'self' data: fonts.gstatic.com; script-src 'self' www.google-analytics.com cdn.jsdelivr.net munchkin.marketo.net *.mktoresp.com; style-src 'self' fonts.googleapis.com cdn.jsdelivr.net 'sha256-HNYzPTRt75YR/Yjz4EVJvRKMVMBbL6CMpl655m4gDcw='; connect-src 'self' *.mktoresp.com"
2424
}
25+
hosts {
26+
allowed = [".playframework.com", "localhost:9000", "playframework-com-app"] # playframework-com-app is the upstream host configured in nginx
27+
}
2528
}
2629
}
2730

0 commit comments

Comments
 (0)