diff options
author | Micah Anderson <micah@riseup.net> | 2022-05-24 09:44:48 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2022-05-24 09:44:48 -0400 |
commit | cdf8b0d8260a78558c8cdf979c89234bbeb813ff (patch) | |
tree | 3e00903ba8c945054d18f22c9f5d74b799a2642e | |
parent | 4d96f232f4a30f10db91abd7a15ae0bba226d893 (diff) |
Fix custom_vpn_web_domains to work when it is not set.
If it is not set, it should default to the 'api' endpoint.
Note, this requires https://git.autistici.org/ai3/float/-/merge_requests/266
-rw-r--r-- | config/services.openvpn.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/services.openvpn.yml b/config/services.openvpn.yml index 01dedd1..495b3c4 100644 --- a/config/services.openvpn.yml +++ b/config/services.openvpn.yml @@ -89,7 +89,7 @@ vpnweb: - name: api port: 8000 scheme: http - domains: "{{ custom_vpn_web_domains | default([]) }}" + domains: "{{ custom_vpn_web_domains | default(['api.' + domain_public[0]]) }}" provider: scheduling_group: backend |