diff options
author | elijah <elijah@riseup.net> | 2012-12-19 12:12:16 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-12-19 12:12:16 -0800 |
commit | c3c23bbc27dee3fdcdf9aec6addcc816ad7b52ba (patch) | |
tree | 87a6e1ed0f61fe90fb6b089d695f6de897119128 /provider_base/files/service-definitions | |
parent | 109334ec46ffdde3a96119fd6108080bd1d45c8a (diff) |
webapp api now uses a customizable port (so that we don't try to rely on SNI for hosting two TLS domains on one IP).
Diffstat (limited to 'provider_base/files/service-definitions')
-rw-r--r-- | provider_base/files/service-definitions/provider.json.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/files/service-definitions/provider.json.erb b/provider_base/files/service-definitions/provider.json.erb index c19e5538..f26f25a2 100644 --- a/provider_base/files/service-definitions/provider.json.erb +++ b/provider_base/files/service-definitions/provider.json.erb @@ -11,7 +11,7 @@ hsh['services'] = global.services[:service_type => :user_service].field(:name) hsh['api_version'] = "1" - hsh['api_uri'] = "https://" + api_domain + hsh['api_uri'] = "https://" + api.domain + ':' + api.port hsh['ca_cert_uri'] = 'https://' + global.provider.domain + '/ca.crt' hsh['ca_cert_fingerprint'] = fingerprint(:ca_cert) |