Skip to content

Commit

Permalink
feat: default zone settings utilise cloudflare CDN speedups (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard authored Oct 3, 2024
1 parent 9f5df73 commit 620ae86
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 47 deletions.
96 changes: 50 additions & 46 deletions deployment/modules/cloudflare/account/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deployment/modules/cloudflare/account/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.42.0"
version = "4.43.0"
}
onepassword = {
source = "1Password/onepassword"
Expand Down
5 changes: 5 additions & 0 deletions deployment/modules/cloudflare/account/zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ resource "cloudflare_zone_settings_override" "immich_app" {
tls_1_3 = "zrt"
always_use_https = "on"
ssl = "strict"
brotli = "on"
fonts = "on"
early_hints = "on"
rocket_loader = "on"
speed_brain = "on"
}
}

Expand Down

0 comments on commit 620ae86

Please sign in to comment.