Skip to content

Commit

Permalink
docs: example auth
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Jul 27, 2024
1 parent 61593bf commit bbdd589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions site/src/content/docs/guides/self-host-exit-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit bbdd589

Please sign in to comment.