diff --git a/public-site/README.md b/public-site/README.md index 8ed1a093..5ee96136 100644 --- a/public-site/README.md +++ b/public-site/README.md @@ -45,7 +45,7 @@ NGINX configuration: - `/proxy/server.conf`: Configuration used for production. Serves the statically built files. - `/proxy/server.dev.conf`: Configuration used for development. Proxies requests to docusaurus backend. -- `/proxy/securityheaders`: Contains security related headers for the HTTP response. Included in both production and development configurations. The `Content-Security-Profile` value for `script-src` includes two sha256 values (`$script_src_dev_sha` when running in dev mode, and `$script_src_prod_sha` for production build) for inline javascript generated by docusaurs. These scripts can change when packages are updated, which will cause the sha256 values to be invalid, causing the web page to fail. In this happens the values for both variables must be updated. Chrome (and chromium based browsers) will print the expected value in `Developer Tools` > `Console`. Run `make dev-up` to get the value for `$script_src_dev_sha`, and `make prod-up` for `$script_src_prod_sha`. Update both variables with the new corresponding values and test that both dev and prod builds works by running `dev-up` and then `prod-up`. +- `/proxy/securityheaders`: Contains security related headers for the HTTP response. Included in both production and development configurations. The `Content-Security-Profile` value for `script-src` includes two sha256 values (`$script_src_dev_sha` when running in dev mode, and `$script_src_prod_sha` for production build) for inline javascript generated by docusaurs. These scripts can change when packages are updated, which will cause the sha256 values to be invalid, causing the web page to fail. In this happens the values for both variables must be updated. Chrome (and chromium based browsers) will print the expected value in `Developer Tools` > `Console`. Run `make dev-up` to get the value for `$script_src_dev_sha`, and `make prod-up` for `$script_src_prod_sha`. Update both variables with the new corresponding values and test that both dev and prod builds works by running `dev-up` and then `prod-up`. NB: There are two different sha256 values for the prod build: one on to main page, and one when navigating to sub-pages. You should do a full reload (Ctrl+F5) of both the main page and one of the sub-pages to get both hashes. ## docusaurus diff --git a/public-site/proxy/securityheaders b/public-site/proxy/securityheaders index 1de5e4d9..2fc78e1f 100644 --- a/public-site/proxy/securityheaders +++ b/public-site/proxy/securityheaders @@ -1,5 +1,5 @@ set $script_src_dev_sha "'sha256-PE/7QjqXXKVhTWba7f6GhIv05JWyUEggAwueH3hMSXI='"; -set $script_src_prod_sha "'sha256-pBkmluod9Ko4GzDfbWgKM/wxzujFXUdGVOePkwOQT+c='"; +set $script_src_prod_sha "'sha256-pBkmluod9Ko4GzDfbWgKM/wxzujFXUdGVOePkwOQT+c=' 'sha256-O8zYuOjyuzUZDv3fub7DKfAs5TEd1dG+fz+hCSCFmQA='"; set $script_src_sha "$script_src_dev_sha $script_src_prod_sha"; add_header X-Frame-Options deny always; diff --git a/public-site/static/images/radix-anneli-aune.jpg b/public-site/static/images/radix-anneli-aune.jpg deleted file mode 100644 index 0609df8d..00000000 Binary files a/public-site/static/images/radix-anneli-aune.jpg and /dev/null differ diff --git a/public-site/static/images/radix-elsa-mayra-irgens.jpeg b/public-site/static/images/radix-elsa-mayra-irgens.jpeg deleted file mode 100644 index 8667be9d..00000000 Binary files a/public-site/static/images/radix-elsa-mayra-irgens.jpeg and /dev/null differ diff --git a/public-site/static/images/radix-elsa-mayra-irgens.jpg b/public-site/static/images/radix-elsa-mayra-irgens.jpg index 6dcd2115..8667be9d 100644 Binary files a/public-site/static/images/radix-elsa-mayra-irgens.jpg and b/public-site/static/images/radix-elsa-mayra-irgens.jpg differ diff --git a/public-site/static/images/radix-nils-gustav-strabo.jpeg b/public-site/static/images/radix-nils-gustav-strabo.jpeg deleted file mode 100644 index 8817fe32..00000000 Binary files a/public-site/static/images/radix-nils-gustav-strabo.jpeg and /dev/null differ diff --git a/public-site/static/images/radix-nils-gustav-strabo.jpg b/public-site/static/images/radix-nils-gustav-strabo.jpg index be179299..8817fe32 100644 Binary files a/public-site/static/images/radix-nils-gustav-strabo.jpg and b/public-site/static/images/radix-nils-gustav-strabo.jpg differ diff --git a/public-site/static/images/radix-richard.jpeg b/public-site/static/images/radix-richard.jpeg deleted file mode 100644 index 1f72ecd9..00000000 Binary files a/public-site/static/images/radix-richard.jpeg and /dev/null differ diff --git a/public-site/static/images/radix-richard.jpg b/public-site/static/images/radix-richard.jpg index 702abbb7..1f72ecd9 100644 Binary files a/public-site/static/images/radix-richard.jpg and b/public-site/static/images/radix-richard.jpg differ diff --git a/public-site/static/images/radix-sergey-smolnikov.jpeg b/public-site/static/images/radix-sergey-smolnikov.jpeg deleted file mode 100644 index 34819393..00000000 Binary files a/public-site/static/images/radix-sergey-smolnikov.jpeg and /dev/null differ diff --git a/public-site/static/images/radix-sergey-smolnikov.jpg b/public-site/static/images/radix-sergey-smolnikov.jpg index 2df91bb9..34819393 100644 Binary files a/public-site/static/images/radix-sergey-smolnikov.jpg and b/public-site/static/images/radix-sergey-smolnikov.jpg differ diff --git a/public-site/static/images/radix-svein-petter-johnsen.jpeg b/public-site/static/images/radix-svein-petter-johnsen.jpeg deleted file mode 100644 index e4ee4b19..00000000 Binary files a/public-site/static/images/radix-svein-petter-johnsen.jpeg and /dev/null differ diff --git a/public-site/static/images/radix-svein-petter-johnsen.jpg b/public-site/static/images/radix-svein-petter-johnsen.jpg index f3eb7d00..e4ee4b19 100644 Binary files a/public-site/static/images/radix-svein-petter-johnsen.jpg and b/public-site/static/images/radix-svein-petter-johnsen.jpg differ diff --git a/radixconfig.yaml b/radixconfig.yaml index 5eded63e..2dd665fd 100644 --- a/radixconfig.yaml +++ b/radixconfig.yaml @@ -23,7 +23,7 @@ spec: architecture: arm64 resources: requests: - memory: 15M + memory: 30M cpu: 5m volumeMounts: - name: tmp