commit(auto)
This commit is contained in:
parent
a0bb2abec3
commit
17d3d8ce9e
1 changed files with 11 additions and 2 deletions
|
@ -24,11 +24,20 @@ cloudflare@saipi4$ vim ~/.cloudflared/config/yaml
|
|||
```
|
||||
url: https//localhost
|
||||
tunnel: ******
|
||||
credentials-file: /path/to/.cloudflared/******.json
|
||||
credentials-file: /var/lib/cloudflare/.cloudflared/******.json
|
||||
```
|
||||
\**** の所はトンネルを作ったときの token(or UUID or TunnelID). [[20240212183159 cloudflare トンネルのtoken|cloudflare トンネルのtoken(private)]]
|
||||
|
||||
```
|
||||
cloudflare@saipi4:~ $ cloudflared tunnel route dns ***** notes.kinoshita-lab.org
|
||||
2024-02-12T10:20:56Z INF Added CNAME notes.kinoshita-lab.org which will route to this tunnel tunnelID=****
|
||||
```
|
||||
```
|
||||
cloudflare@saipi4:~ $ cloudflared tunnel --config ~/.cloudflared/config/yaml run
|
||||
```
|
||||
\**** の所はトンネルを作ったときの token. [[20240212183159 cloudflare トンネルのtoken|private]]
|
||||
## cf.
|
||||
|
||||
|
||||
- [Cloudflare Tunnel を使って自宅サーバを公開する - hoge な blog](https://akkyorz.hatenablog.com/entry/2022/12/15/012728)
|
||||
- [Set up Cloudflare · Cloudflare Fundamentals docs](https://developers.cloudflare.com/fundamentals/setup/)
|
||||
- [How to use Caddy with Cloudflare's SSL settings](https://samjmck.com/en/blog/using-caddy-with-cloudflare/)
|
Loading…
Reference in a new issue