Adds proxy host vars

This commit is contained in:
Jamie Curnow
2023-01-09 08:49:49 +10:00
parent ad848a6478
commit f6b219772d
6 changed files with 37 additions and 39 deletions

View File

@ -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"
},