In Caddy2,how to use zhe "http.cgi" Directives

As the tiltle , Caddy1 I can use

" cgi /abc123 /opt/hello/hello.sh" to run this file.

but i don’t now the “http.cgi” Directives was unuse, what show i do.

Caddy’s reverse_proxy has a fastcgi transport: reverse_proxy (Caddyfile directive) — Caddy Documentation

Or you can use this CGI plugin: GitHub - aksdb/caddy-cgi: Common Gateway Interface plugin for the Caddy HTTP server

thank you so much!

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