diff options
author | Micah Anderson <micah@riseup.net> | 2022-05-10 14:42:45 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2022-05-10 14:45:49 -0400 |
commit | da169f53d97bbde60ffb89564a8a794ed8df3563 (patch) | |
tree | ba89f7ed2a52c2597503b6ed5d1ae25fbe9f51eb | |
parent | d2891efe62860b764c5e802f023ece1792553e55 (diff) |
Enable an optional custom vpnweb domain.
For transition from the old platform, it can be useful to have the vpnweb
respond to another domain. For example, calyx responds now on api.calyx.net,
however the vpnweb with lilypad will appear on api.vpn.calyx.net. With this
change it is possible to configure `custom_vpn_web_domains: [api.calyx.net]` to
have it available there as well.
-rw-r--r-- | config/services.openvpn.yml | 1 | ||||
-rw-r--r-- | group_vars/all/config.yml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/config/services.openvpn.yml b/config/services.openvpn.yml index 19b7dfc..01dedd1 100644 --- a/config/services.openvpn.yml +++ b/config/services.openvpn.yml @@ -89,6 +89,7 @@ vpnweb: - name: api port: 8000 scheme: http + domains: "{{ custom_vpn_web_domains | default([]) }}" provider: scheduling_group: backend diff --git a/group_vars/all/config.yml b/group_vars/all/config.yml index c775e6d..c615004 100644 --- a/group_vars/all/config.yml +++ b/group_vars/all/config.yml @@ -18,6 +18,8 @@ alertmanager_smtp_auth_password: somepassword alertmanager_smtp_hello: float.bitmask.net geoip_account_id: 1234 geoip_license_key: Welcome123 +# optional: 'custom_vpn_web_domains' can be a list of additional domains +# that vpnweb should respond to, eg. custom_vpn_web_domains: [api.foo.net] admins: - name: admin |