25 lines
No EOL
575 B
TOML
25 lines
No EOL
575 B
TOML
listen = "127.0.0.1:3000"
|
|
enable_cache = false
|
|
index_redirect = { permanent = false, url = "https://mi.yumechi.jp/" }
|
|
allow_unknown = false
|
|
|
|
# you need AppArmor and the policy loaded to use this
|
|
[sandbox.apparmor]
|
|
serve = "yumechi-no-kuni-proxy-worker//serve"
|
|
image_hat = "image"
|
|
|
|
[fetch]
|
|
addr_family = "both"
|
|
allow_http = false
|
|
via = "yumechi-no-kuni-proxy-worker"
|
|
user_agent = "Yumechi-no-Kuni-Proxy-Worker"
|
|
|
|
[post_process]
|
|
enable_redirects = false
|
|
normalization = "lazy"
|
|
allow_svg_passthrough = false
|
|
|
|
[rate_limit]
|
|
max_x_forwarded_for = 0
|
|
replenish_every = 2000
|
|
burst = 32 |