1
0
Fork 0
mirror of synced 2024-09-10 22:46:09 +12:00
budibase/hosting
Kacper eab84b4c63 Content Security Policy fix for S3 upload
CSP allows wildcard only at first element of FQDN, so policy `*.s3.*.amazonaws.com` is invalid cause it contains second wildcard in the middle of FQDN.

nginx.prod.conf.hbs is not parsed by real handlebarsJS but manual way with regex and replacements. It's impossible to use `{{#each}}` so I've hardcoded all regions available for S3 basing on documentation under: https://docs.aws.amazon.com/general/latest/gr/s3.html
2022-05-05 22:26:57 +02:00
..
digitalocean
portainer
proxy Replace spectrum with custom CSS 2022-04-25 16:39:44 +01:00
scripts
single
utils
.env
docker-compose.dev.yaml
docker-compose.yaml
envoy.yaml
hosting.properties
nginx.dev.conf.hbs
nginx.prod.conf.hbs Content Security Policy fix for S3 upload 2022-05-05 22:26:57 +02:00