From bbdd5899e9ded5d735435744ebeb9a6d1f6da6c1 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sat, 27 Jul 2024 16:01:26 +0700 Subject: [PATCH] docs: example auth --- README.md | 4 ++-- site/src/content/docs/guides/self-host-exit-node.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7ba5d4e..2fe3a98 100644 --- a/README.md +++ b/README.md @@ -246,8 +246,8 @@ RestartSec=1 User=root # You can add any additional flags here # This example uses port 9090 for the tunnel socket. `--reverse` is required for our use case. -ExecStart=/usr/local/bin/chisel server --port=9090 --reverse -# Additional .env file for auth and secrets +ExecStart=/usr/local/bin/chisel server --port=9090 --reverse --auth foo:bar +# ..Or put an additional .env file for auth and secrets EnvironmentFile=-/etc/sysconfig/chisel ``` diff --git a/site/src/content/docs/guides/self-host-exit-node.md b/site/src/content/docs/guides/self-host-exit-node.md index 37cd0a6..20c1d91 100644 --- a/site/src/content/docs/guides/self-host-exit-node.md +++ b/site/src/content/docs/guides/self-host-exit-node.md @@ -32,8 +32,8 @@ RestartSec=1 User=root # You can add any additional flags here # This example uses port 9090 for the tunnel socket. `--reverse` is required for our use case. -ExecStart=/usr/local/bin/chisel server --port=9090 --reverse -# Additional .env file for auth and secrets +ExecStart=/usr/local/bin/chisel server --port=9090 --reverse --auth foo:bar +# ..Or put an additional .env file for auth and secrets EnvironmentFile=-/etc/sysconfig/chisel ```