listen = "127.0.0.1:3000" enable_cache = false index_redirect = { permanent = false, url = "https://mi.yumechi.jp/" } allow_unknown = false max_x_forwarded_for = 0 # 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]] replenish_every = 50 burst = 256 [[rate_limit]] key = "500ms" min_request_duration = 500 replenish_every = 200 burst = 64 [[rate_limit]] key = "1500ms" min_request_duration = 1500 replenish_every = 1500 burst = 16