commit(auto)
This commit is contained in:
parent
17bf9e41ae
commit
e922f75f55
2 changed files with 16 additions and 0 deletions
|
@ -63,5 +63,18 @@ If you wish to copy your credentials to a server, they have been saved to:
|
|||
/var/lib/cloudflare/.cloudflared/cert.pem
|
||||
```
|
||||
|
||||
## トンネルの作成
|
||||
```
|
||||
cloudflare@saipi4:~ $ cloudflared tunnel create saipi4(ここは自分が設定したい名前)
|
||||
Tunnel credentials written to /var/lib/cloudflare/.cloudflared/******.json. cloudflared chose this file based on where your origin certificate was found. Keep this file secret. To revoke these credentials, delete the tunnel.
|
||||
|
||||
Created tunnel saipi4 with id *****
|
||||
```
|
||||
`*****` の所のtokenをメモしておく
|
||||
|
||||
|
||||
|
||||
|
||||
[[20240212183159 cloudflare トンネルのtoken]]
|
||||
## cf.
|
||||
- [Cloudflare Tunnel を使って自宅サーバを公開する - hoge な blog](https://akkyorz.hatenablog.com/entry/2022/12/15/012728)
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
- certificateを `/etc/ssl/certs/certificate.pem`
|
||||
- private key を `/etc/ssl/private/key.pem` に保存
|
||||
|
||||
|
||||
## WEBサーバーの設定
|
||||
- [[20240212183719 raspi4でnginxを設定する|raspi4でnginxを設定する]]
|
||||
## cf.
|
||||
- [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