From caa438f69a68948652caf8f43e1e85bc1ba62486 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Thu, 2 Nov 2023 22:11:12 -0400 Subject: [PATCH] default backend to httpbin.org because it accepts the proxy's host header --- nfpm/zrok-share.env | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nfpm/zrok-share.env b/nfpm/zrok-share.env index 09036ebcb..01b810ac5 100644 --- a/nfpm/zrok-share.env +++ b/nfpm/zrok-share.env @@ -22,8 +22,9 @@ ZROK_ENABLE_TOKEN="" # keep using the same share URL. # # backend-mode proxy (default): share a backend web server URL that's reachable by this host; must begin with 'http://' or -# 'https://' -ZROK_BACKEND="https://zrok.io" +# 'https://'; must accept the HOST header of the proxy frontend; check out Caddy mode if you need more control +ZROK_BACKEND="https://httpbin.org" +#ZROK_BACKEND="http://127.0.0.1:3000" # # backend-mode web: run a web server and share a static HTML directory that's present on this host; must begin with '/' # and be readable by 'other'