instance-cdn-me-simplified-input-schema.json 1.72 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "Input Parameters",
  "properties": {
    "port": {
      "title": "Backend port",
      "description": "Port where the service is running on the backend",
      "default": 80,
      "type": "integer"
    },
    "frontend-custom_domain": {
      "title": "Custom Domain",
      "description": "Custom Domain to use for the website",
      "type": "string",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$"
    },
    "frontend-server-alias": {
      "title": "Server Alias",
      "description": "Server Alias List separated by space",
      "type": "string",
      "default": ""
    },
    "frontend-type": {
      "title": "Backend Type",
      "description": "Type of slave. If redirect, the slave will redirect to the given url. If zope, the rewrite rules will be compatible with Virtual Host Monster",
      "type": "string",
      "default": "",
29 30 31 32 33
      "enum": [
        "",
        "zope",
        "redirect"
      ]
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
    },
    "frontend-path": {
      "title": "Backend Path",
      "description": "Path to proxy to in the backend",
      "type": "string",
      "default": ""
    },
    "frontend-default-path": {
      "title": "Default Path",
      "description": "Provide default path to redirect user to",
      "type": "string",
      "default": ""
    },
    "frontend-https-only": {
      "title": "HTTPS Only",
      "description": "If set to true, http request are redirect to https",
      "type": "boolean",
      "default": false
    },
    "frontend-enable_cache": {
      "title": "Enable Cache",
      "description": "If set to true, the cache is used",
      "type": "boolean",
      "default": false
    }
  }
}