instance-caddy-input-schema.json 3.16 KB
Newer Older
1
{
2 3 4 5 6 7
  "$schema": "http://json-schema.org/draft-04/schema",
  "properties": {
    "-frontend-authorized-slave-string": {
      "description": "List of SOFTINST-XXX of Slaves, separated by space which is allowed to use custom configuration.",
      "title": "Authorized Slave String",
      "type": "string"
8
    },
9 10 11 12 13 14
    "-frontend-quantity": {
      "description": "Quantity of Frontends Replicate.",
      "title": "Frontend Replication Quantity",
      "type": "integer"
    },
    "apache-ca-certificate": {
15
      "description": "[NOT IMPLEMENTED] SSL CA Certificate used by the server. You can append it to 'apache-certificate'.",
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
      "textarea": true,
      "title": "[NOT IMPLEMENTED] SSL CA Certificate",
      "type": "string"
    },
    "apache-certificate": {
      "description": "SSL Certificate used by the server.",
      "textarea": true,
      "title": "SSL Certificate",
      "type": "string"
    },
    "apache-key": {
      "description": "SSL Key used by the server.",
      "textarea": true,
      "title": "SSL Key",
      "type": "string"
    },
    "domain": {
      "description": "Base Domain for create subdomains (ie.: example.com).",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$",
      "title": "Domain",
      "type": "string"
    },
    "enable-http2-by-default": {
      "default": "true",
      "description": "Use HTTP2 as default Protocol",
      "enum": [
        "true",
        "false"
      ],
      "title": "Enable HTTP2 by Default",
      "type": "string"
    },
48 49 50 51 52 53 54 55 56 57
    "global-disable-http2": {
      "default": "false",
      "description": "Disables globally HTTP2 in Caddy, thus enable-http2-by-default here and enable-http2 have no effect. Rational is that in some loaded environments it is better to run Caddy without any HTTP2 capabilities.",
      "enum": [
        "true",
        "false"
      ],
      "title": "Globally disable HTTP2",
      "type": "string"
    },
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
    "mpm-graceful-shutdown-timeout": {
      "default": 5,
      "description": "Value passed to -grace parameter of Caddy, see https://caddyserver.com/docs/cli .",
      "title": "Duration of the graceful shutdown period",
      "type": "integer"
    },
    "nginx-domain": {
      "description": "Base Domain for create subdomains (ie.: example2.com) for websocket, notebook and eventsource.",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$",
      "title": "Nginx Domain",
      "type": "string"
    },
    "public-ipv4": {
      "description": "Public ipv4 of the frontend (the one Caddy will be indirectly listening to).",
      "title": "Public IPv4",
      "type": "string"
    },
    "re6st-verification-url": {
      "description": "Url to verify if the internet and/or re6stnet is working.",
      "title": "Test Verification URL",
      "type": "string"
    },
    "enable-quic": {
      "default": "false",
      "description": "Enables QUIC - Quick UDP Internet Connections. Note that this is experimental feature, thus can result in undefined behaviour.",
      "enum": [
        "true",
        "false"
      ],
      "title": "Enable QUIC",
      "type": "string"
    }
  },
  "title": "Input Parameters",
  "type": "object"
93
}