I'm still pretty new to Caddy and I'm trying to implement this in place of Gunicorn for my app. I'm trying to just test locally so I can get the config correct but I'm getting errors from the example config.
Do you have an example of this implemented in JSON?
I'm getting this error and haven't found anything so wanted to drop the question here.
caddy run --config caddyfile
2024/05/11 18:59:31.873 INFO using provided configuration {"config_file": "caddyfile", "config_adapter": ""}
Error: loading initial config: decoding request body: invalid character 'h' looking for beginning of object key string
I'm sure I'm missing something simple but I'm just not seeing it.
Verified: I'm an idiot; I didn't realize xcaddy was compiling a new bin and I needed to use that one to run. Sorry to bump everyone's emails for nothing.
I'm still pretty new to Caddy and I'm trying to implement this in place of Gunicorn for my app. I'm trying to just test locally so I can get the config correct but I'm getting errors from the example config.
Do you have an example of this implemented in JSON?
If not maybe some flavor on:
I'm getting this error and haven't found anything so wanted to drop the question here.
I'm sure I'm missing something simple but I'm just not seeing it.Verified: I'm an idiot; I didn't realize xcaddy was compiling a new bin and I needed to use that one to run. Sorry to bump everyone's emails for nothing.