2024-11-13 15:51:44 -06:00
|
|
|
listen = "127.0.0.1:3000"
|
|
|
|
enable_cache = false
|
|
|
|
index_redirect = { permanent = false, url = "https://mi.yumechi.jp/" }
|
|
|
|
allow_unknown = false
|
|
|
|
|
2024-11-14 23:54:59 -06:00
|
|
|
# you need AppArmor and the policy loaded to use this
|
|
|
|
[sandbox.apparmor]
|
|
|
|
serve = "yumechi-no-kuni-proxy-worker//serve"
|
|
|
|
image_hat = "image"
|
|
|
|
|
2024-11-13 15:51:44 -06:00
|
|
|
[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"
|
2024-11-13 16:27:49 -06:00
|
|
|
allow_svg_passthrough = false
|
2024-11-13 15:51:44 -06:00
|
|
|
|
|
|
|
[rate_limit]
|
2024-11-15 14:28:16 -06:00
|
|
|
max_x_forwarded_for = 0
|
2024-11-15 22:31:11 -06:00
|
|
|
replenish_every = 200
|
|
|
|
burst = 64
|