Adds proxy host vars
This commit is contained in:
@ -17,7 +17,8 @@ func CreateHost() string {
|
||||
"required": [
|
||||
"type",
|
||||
"domain_names",
|
||||
"nginx_template_id"
|
||||
"nginx_template_id",
|
||||
"proxy_scheme"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
@ -33,6 +34,16 @@ func CreateHost() string {
|
||||
"upstream_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"proxy_scheme": {
|
||||
"type": "string",
|
||||
"pattern": "^https?$"
|
||||
},
|
||||
"proxy_host": {
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_port": {
|
||||
"type": "integer"
|
||||
},
|
||||
"certificate_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
Reference in New Issue
Block a user