Skip to content

Does the connector support caddy json config ? #769

Closed Answered by jptosso
Barnoux asked this question in Q&A
Discussion options

You must be logged in to vote

It is possible to use coraza by declaring a handler with name "waf".

{
  "admin": {
    "disabled": false,
    "listen": "localhost:2019",
    "enforce_origin": false,
    "config": {
      "persist": true
    }
  },
  "logging": {},
  "storage": {
    "module": "file_system",
    "root": "/var/lib/caddy"
  },
  "apps": {
    "http": {
      "servers": {
        "qwer": {
          "listen": [
            ":1234"
          ],
          "routes": [
            {
              "group": "",
              "match": [
                {
                  "path": [
                    "/"
                  ]
                }
              ],
              "handle": [
                {
          …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jptosso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants