Qortora · Search · Indexed page

caddy.communityFetched 2026-08-17T09:43:39Z

Internal requests - Plugins - Caddy Community

Is it possible for a plugin to make a mock request of Caddy without looping through the network? I’m trying to write a dynamic www redirecting plugin that’ll only issue redirects if the target exists, so I want my plugi…

Open original source · Full cached text

Internal requests - Plugins - Caddy Community = 40rem)" rel="stylesheet" data-target="chat_desktop" /> = 40rem)" rel="stylesheet" data-target="discourse-reactions_desktop" /> = 40rem)" rel="stylesheet" data-target="poll_desktop" /> = 40rem)" rel="stylesheet" data-target="desktop_theme" data-theme-id="1" data-theme-name="caddy custom"/> Internal requests Plugins AstraLume (Jamie Bliss) July 21, 2025, 8:49pm 1 Is it possible for a plugin to make a mock request of Caddy without looping through the network? I’m trying to write a dynamic www redirecting plugin that’ll only issue redirects if the target exists, so I want my plugin to ask caddy “hey, what would happen if you got this request?”. Mohammed90 (Mohammed Al Sahaf) July 21, 2025, 10:43pm 2 I think you’re looking for something similar to what we’re doing here in templates handler: AstraLume (Jamie Bliss) July 24, 2025, 2:56pm 3 ooo yes, that looks right. thank you!