mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
parent
10be9637e7
commit
e03d667511
1 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ include "@lighttpd@/share/lighttpd/doc/config/conf.d/mime.conf"
|
||||||
server.document-root = "@site@"
|
server.document-root = "@site@"
|
||||||
index-file.names = ( "index.html" )
|
index-file.names = ( "index.html" )
|
||||||
|
|
||||||
|
setenv.set-response-header += (
|
||||||
|
"Content-Security-Policy" => "default-src 'self'; script-src 'self' 'unsafe-inline'; frame-ancestors 'none'",
|
||||||
|
)
|
||||||
|
|
||||||
url.redirect = (
|
url.redirect = (
|
||||||
# These are redirects from the old site - keep them so we don't hurt any
|
# These are redirects from the old site - keep them so we don't hurt any
|
||||||
# search engine indexes!
|
# search engine indexes!
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue