instance-slave-apache-input-schema.json 2.35 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 29 30 31 32
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",

  "title": "Input Parameters",
  "properties": {
    "url": {
      "title": "Backend URL",
      "description": "Url of the backend",
      "type": "string"
    },
    "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}$"
    },
    "type": {
      "title": "Backend Type",
      "description": "Type of the backend",
      "type": "string",
      "default": "",
      "enum": ["", "zope"]
    },

    "path": {
      "title": "Backend Path",
      "description": "Path to proxy to in the backend",
      "type": "string",
      "default": ""
    },

33 34 35 36 37 38 39
    "default-path": {
      "title": "Default Path",
      "description": "Provide default path to redirect user to",
      "type": "string",
      "default": ""
    },

40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 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
    "ssl_crt": {
      "title": "SSL Certificate",
      "description": "SSL Certificate",
      "type": "string",
      "default": ""
    },
    "ssl_key": {
      "title": "SSL Key",
      "description": "SSL Key",
      "type": "string",
      "default": ""
    },

    "ssl_ca_crt": {
      "title": "SSL Certificate Authority's Certificate",
      "description": "SSL Key",
      "type": "string",
      "default": ""
    },
    "https-only": {
      "title": "HTTPS Only",
      "description": "If set to true, http request are redirect to https",
      "type": "string",
      "default": "false",
      "enum": ["false", "true"]
    },

    "enable_cache": {
      "title": "Enable Cache",
      "description": "If set to true, the cache is used",
      "type": "string",
      "default": "false",
      "enum": ["false", "true"]
    },
    "apache_custom_http": {
      "title": "HTTP configuration",
      "description": "Raw http configuration in python template format. Your site will be rejected if you use it without notification and approval of the frontend adminastrator",
      "default": "",
      "type": "string"
    },
    "apache_custom_https": {
      "title": "HTTPS configuration",
      "description": "Raw https configuration in python template format. Your site will be rejected if you use it without notification and approval of the frontend adminastrator",
      "default": "",
      "type": "string"
    }
  }
}