summaryrefslogtreecommitdiff
path: root/provider_base
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base')
-rw-r--r--provider_base/provider.json10
-rw-r--r--provider_base/services/openvpn.json2
2 files changed, 6 insertions, 6 deletions
diff --git a/provider_base/provider.json b/provider_base/provider.json
index fa69318b..aa7d0513 100644
--- a/provider_base/provider.json
+++ b/provider_base/provider.json
@@ -15,12 +15,12 @@
"default_language": "en",
"enrollment_policy": "open",
"service": {
- "levels": [
+ "levels": {
// bandwidth limit is in Bytes, storage limit is in MB.
- {"id": 1, "name": "free", "storage":50},
- {"id": 2, "name": "basic", "storage":1000, "rate": ["US$10", "€10"]},
- {"id": 3, "name": "pro", "storage":10000, "rate": ["US$20", "€20"]}
- ],
+ "1": {"name": "free", "storage":50},
+ "2": {"name": "basic", "storage":1000, "rate": ["tba"]},
+ "3": {"name": "pro", "storage":10000, "rate": ["tba"]}
+ },
"default_service_level": 1,
"bandwidth_limit": 102400,
"allow_free": "= provider.service.levels.select {|l| l['rate'].nil?}.any?",
diff --git a/provider_base/services/openvpn.json b/provider_base/services/openvpn.json
index 3776aedb..090afcd6 100644
--- a/provider_base/services/openvpn.json
+++ b/provider_base/services/openvpn.json
@@ -20,7 +20,7 @@
"unlimited_prefix": "= provider.ca.client_certificates.unlimited_prefix",
"rate_limit": "= openvpn.allow_limited ? provider.service.bandwidth_limit : nil",
"configuration": {
- "tls-cipher": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA",
+ "tls-cipher": "DHE-RSA-AES128-SHA",
"auth": "SHA1",
"cipher": "AES-128-CBC",
"keepalive": "10 30",