How to activate CGI in v2

Is it really true that the CGI plugin (from Kurt Jung) still has not been ported to Caddy v2? When downloading caddy v2 I can check the CGI plugin, but it does not seem to work, also the help / manual page is empty?

Switching to FastCGI unfortunately is not an option.

Thank you and best regards
Wayne

This fork should do:

1 Like

Dear francislavoie

Thank you for your prompt reply. Unfortunately I am not familiar with GO and I guess this fork I need to compile myself? Any chance to get I precompiled version from somewhere (macOS_64 and Windows_64)? Adding this to the “official” caddy download section would be the best option…

Best regards
Wayne

Compiling Caddy is easy:

You just need to install Go (pretty much just run the installer), download xcaddy, then run xcaddy.exe build --with github.com/aksdb/caddy-cgi/v2.

The plugin maintainer needs to do that. You can ask them to by opening an issue on github. They just need to make an account on caddyserver.com and then register their plugin.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.