SetEnv eqivalent in Caddy

Hi guys,

Im trying to setup NEOS CMS. In the default .htaccess file env variables are set, but how can I do something like SetEnv (Apache) in Caddy?

Or is there another way to do this?

Greetings Marv :slight_smile:

Hi @breadlesscode,

Depends on where that variable is going to be used. Generally SetEnv is used for FastCGI purposes, and Caddy has an equivalent env subdirective for its FastCGI proxy. If that’s what you need, check out the docs for fastcgi.

1 Like

Sorry for late anwser :slight_smile:

Thanks that was exacly what Im looking for

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.