Skip to content

Make X-Frame-Options configureable #2033

Answered by alxbauer
eloo asked this question in 🇺🇸 Q&A
Discussion options

You must be logged in to vote

To remove the X-Frame-Options header create a file: /usr/local/etc/config/lighttpd/setenv.conf

# Remove X-Frame-Options
$HTTP["url"] =~ "^/" {
  setenv.set-response-header = (
    "X-Frame-Options" => ""
  )
}

Restart the http server
/etc/init.d/S50lighttpd restart

Done.

Replies: 10 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Jojo-A
Comment options

Answer selected by jens-maus
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #1241 on November 02, 2022 11:36.