{
  "apps": {
    "http": {
      "servers": {
        " ": {
          "listen": [
            ":80"
          ],
          "routes": [
            {
              "match": [
                {
                  "path": [
                    "/src/*"
                  ]
                }
              ],
              "handle": [
                {
                  "handler": "rewrite",
                  "strip_path_prefix": "/src"
                },
                {
                  "handler": "file_server",
                  "root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apx/src/",
                  "index_names": [
                    "index.html",
                    "index_fr.html",
                    "index_en.html"
                  ]
                }
              ],
              "terminal": true
            },
            {
              "match": [
                {
                  "host": [
                    "apx.apxtri.farm.ants"
                  ]
                }
              ],
              "handle": [
                {
                  "handler": "file_server",
                  "root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apx/dist",
                  "index_names": [
                    "index.html",
                    "index_fr.html",
                    "index_en.html"
                  ]
                }
              ],
              "terminal": true
            }
          ]
        }
      }
    }
  },
  "logging": {
    "logs": {
      "default": {
        "level": "DEBUG",
        "writer": {
          "output": "file",
          "filename": "/var/log/caddy/access.log"
        }
      }
    }
  }
}