diff --git a/charts/shopware/Chart.yaml b/charts/shopware/Chart.yaml index a072875..03f3632 100644 --- a/charts/shopware/Chart.yaml +++ b/charts/shopware/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.2.3 +version: 2.2.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "2.2.3" +appVersion: "2.2.4" dependencies: - name: pxc-operator diff --git a/charts/shopware/templates/store_caddy_config.yaml b/charts/shopware/templates/store_caddy_config.yaml index 8764ba6..80a4409 100644 --- a/charts/shopware/templates/store_caddy_config.yaml +++ b/charts/shopware/templates/store_caddy_config.yaml @@ -40,6 +40,11 @@ data: not path /theme/* /media/* /thumbnail/* /bundles/* } root * /var/www/html/public + @staticDocuments { + file + path_regexp staticDocuments (?i)([.]svg$|^/(media|thumbnail)/.*[.]html$) + } + header @staticDocuments Content-Security-Policy "script-src 'none'; object-src 'none'; frame-src 'none'; base-uri 'none'; form-action 'none'" php_fastcgi @default unix//tmp/php-fpm.sock { trusted_proxies private_ranges read_timeout {{ .Values.store.caddy.readTimeout }}