Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 6ae2191

Browse files
authored
add env variable for frame (#226)
1 parent 61d1eea commit 6ae2191

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ services:
9999
#- QUEUE_CONNECTION=sync
100100
#- SECURITY_HEADER_HSTS_ENABLE=false
101101
#- SECURITY_HEADER_CSP_CONNECT_SRC=
102+
#- SECURITY_HEADER_CSP_FRAME_ANCESTORS=
102103
#- SECURITY_HEADER_SCRIPT_SRC_ALLOW=
103104
#- SESSION_SECURE_COOKIE=false
104105
#- MAIL_DRIVER=smtp

inject.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ if [ "$SECURITY_HEADER_CSP_CONNECT_SRC" != '' ]; then
133133
if [ "$SECURITY_HEADER_SCRIPT_SRC_ALLOW" != '' ]; then
134134
replace_or_insert "SECURITY_HEADER_SCRIPT_SRC_ALLOW" "$SECURITY_HEADER_SCRIPT_SRC_ALLOW"
135135
fi
136+
if [ "$SECURITY_HEADER_CSP_FRAME_ANCESTORS" != '' ]; then
137+
replace_or_insert "SECURITY_HEADER_CSP_FRAME_ANCESTORS" "$SECURITY_HEADER_CSP_FRAME_ANCESTORS"
138+
fi
136139
if [ "$SESSION_SECURE_COOKIE" != '' ]; then
137140
replace_or_insert "SESSION_SECURE_COOKIE" "$SESSION_SECURE_COOKIE"
138141
fi

0 commit comments

Comments
 (0)