better host upstream support
This commit is contained in:
@ -38,6 +38,9 @@ func create(host *Model) (int, error) {
|
||||
listen_interface,
|
||||
domain_names,
|
||||
upstream_id,
|
||||
proxy_scheme,
|
||||
proxy_host,
|
||||
proxy_port,
|
||||
certificate_id,
|
||||
access_list_id,
|
||||
ssl_forced,
|
||||
@ -62,6 +65,9 @@ func create(host *Model) (int, error) {
|
||||
:listen_interface,
|
||||
:domain_names,
|
||||
:upstream_id,
|
||||
:proxy_scheme,
|
||||
:proxy_host,
|
||||
:proxy_port,
|
||||
:certificate_id,
|
||||
:access_list_id,
|
||||
:ssl_forced,
|
||||
@ -112,6 +118,9 @@ func update(host *Model) error {
|
||||
listen_interface = :listen_interface,
|
||||
domain_names = :domain_names,
|
||||
upstream_id = :upstream_id,
|
||||
proxy_scheme = :proxy_scheme,
|
||||
proxy_host = :proxy_host,
|
||||
proxy_port = :proxy_port,
|
||||
certificate_id = :certificate_id,
|
||||
access_list_id = :access_list_id,
|
||||
ssl_forced = :ssl_forced,
|
||||
|
Reference in New Issue
Block a user