diff options
Diffstat (limited to 'meta-agl-ic-container/recipes-demo')
-rw-r--r-- | meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf | 4 | ||||
-rw-r--r-- | meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf b/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf index 0343867e..e1ad514a 100644 --- a/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf +++ b/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf @@ -8,3 +8,7 @@ alias.url = ( "/cgi-bin" => "/www/cgi-bin" ) $HTTP["url"] =~ "^/cgi-bin" { cgi.assign = ( ".cgi" => "/bin/sh") } +setenv.set-response-header = ( + "x-content-type-options" => "nosniff", +) +mimetype.assign += ( ".svg" => "image/svg+xml" ) diff --git a/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb b/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb index 0de33dd9..b95240ac 100644 --- a/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb +++ b/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb @@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" PV = "0.1.0" -SRC_URI = "git://github.com/agl-ic-eg/momiweb.git;protocol=https;branch=main \ +SRC_URI = "git://github.com/agl-ic-eg/momiweb.git;protocol=https;branch=agl-master \ file://momiweb.conf \ " -SRCREV = "cfdfdd670a83558a408bafa7b0262381313b907d" +SRCREV = "e720ea92df37da05ba33fc7abb4c4822f58dbcf1" S = "${WORKDIR}/git" |