mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Chore: fix rsync, config.toml
This commit is contained in:
parent
acad7a018f
commit
0c048abd35
2 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -12,7 +12,9 @@ WWW_RSYNC_DEST = $(USER):$(WWW_ROOT)
|
||||||
GEMINI_RSYNC_DEST = $(USER):$(GEMINI_ROOT)
|
GEMINI_RSYNC_DEST = $(USER):$(GEMINI_ROOT)
|
||||||
|
|
||||||
OUTPUT_DIR = public
|
OUTPUT_DIR = public
|
||||||
RSYNCFLAGS += -rlvz --zc=zstd
|
RSYNCFLAGS += -rlcv --zc=zstd --zl=6
|
||||||
|
# include br, jxl, and gmi in skip-compress
|
||||||
|
RSYNCFLAGS += --skip-compress=gz/br/zst/png/webp/jpg/avif/jxl/mp4/mkv/webm/opus/mp3
|
||||||
# compression has dimishing returns after this point
|
# compression has dimishing returns after this point
|
||||||
ECT_LEVEL=70109
|
ECT_LEVEL=70109
|
||||||
|
|
||||||
|
|
|
@ -125,6 +125,6 @@ Referrer-Policy = "no-referrer"
|
||||||
X-XSS-Protection = "1; mode=block"
|
X-XSS-Protection = "1; mode=block"
|
||||||
X-FROG-UNSAFE = "1"
|
X-FROG-UNSAFE = "1"
|
||||||
X-UA-Compatible = "IE=edge"
|
X-UA-Compatible = "IE=edge"
|
||||||
Content-Security-Policy = "default-src 'none'; img-src 'self' https://seirdy.one data:; style-src 'self'; script-src 'self'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'; manifest-src 'self'; upgrade-insecure-requests;"
|
Content-Security-Policy = "default-src 'none'; img-src 'self' https://seirdy.one data:; style-src 'unsafe-inline'; script-src 'self'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'; manifest-src 'self'; upgrade-insecure-requests;"
|
||||||
Permissions-Policy = "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()"
|
Permissions-Policy = "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()"
|
||||||
Cache-Control = "max-age=120, no-transform"
|
Cache-Control = "max-age=120, no-transform"
|
||||||
|
|
Loading…
Reference in a new issue