From 9cf4dee896a6f1e52b434636f4cfdf46ecebba7b Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Fri, 8 Dec 2023 16:09:02 -0500 Subject: [PATCH] document using vanity subdomains with frontdoor --- docs/guides/_frontdoor-linux.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/guides/_frontdoor-linux.mdx b/docs/guides/_frontdoor-linux.mdx index 8f9fca76..7aed8261 100644 --- a/docs/guides/_frontdoor-linux.mdx +++ b/docs/guides/_frontdoor-linux.mdx @@ -89,6 +89,14 @@ Save the enable token from the zrok console in the configuration file. ZROK_ENABLE_TOKEN="14cbfca9772f" ``` +## Choose a Subdomain + +This becomes the leading part of the domain name of the share, e.g. `https://my-prod-app.in.zrok.io`. + +```bash title="/opt/openziti/etc/zrok/zrok-share.env" +ZROK_SUBDOMAIN="my-prod-app" +``` + ## Use Cases You may change the target for the current backend mode, e.g. `proxy`, by editing the configuration file and restarting the service. The reserved subdomain will remain the same.