diff --git a/republique-et-canton-de-geneve/response-headers-bundle/1.0/config/packages/response_headers.yaml b/republique-et-canton-de-geneve/response-headers-bundle/1.0/config/packages/response_headers.yaml new file mode 100644 index 00000000..f12a821c --- /dev/null +++ b/republique-et-canton-de-geneve/response-headers-bundle/1.0/config/packages/response_headers.yaml @@ -0,0 +1,9 @@ +# config/packages/response_headers.yaml +# https://github.com/republique-et-canton-de-geneve/response-headers-bundle/blob/main/config.md + +response_headers: + headers: +# Cache-Control : max-age=0, must-revalidate, no-cache, no-store, private" +# Referrer-Policy: strict-origin +# X-Content-Type-Options: nosniff +# X-XSS-Protection: 1; mode=block diff --git a/republique-et-canton-de-geneve/response-headers-bundle/1.0/manifest.json b/republique-et-canton-de-geneve/response-headers-bundle/1.0/manifest.json new file mode 100644 index 00000000..daf36644 --- /dev/null +++ b/republique-et-canton-de-geneve/response-headers-bundle/1.0/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "EtatGeneve\\ResponseHeadersBundle\\ResponseHeadersBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/republique-et-canton-de-geneve/response-headers-bundle/1.0/post-install.txt b/republique-et-canton-de-geneve/response-headers-bundle/1.0/post-install.txt new file mode 100644 index 00000000..bcd2b017 --- /dev/null +++ b/republique-et-canton-de-geneve/response-headers-bundle/1.0/post-install.txt @@ -0,0 +1 @@ + * Edit the config/package/response-headers.yaml file to configure http response header.