commit(auto)
This commit is contained in:
parent
3355b07908
commit
3b0223a21d
1 changed files with 1 additions and 7 deletions
|
@ -73,7 +73,7 @@ caddyを起動
|
|||
```
|
||||
caddy run --config /etc/caddy/Caddyfile
|
||||
```
|
||||
色々怒られるかもだけど、とりあえずネットワーク内から接続できる。 saipi4は私のraspi4のhostname。
|
||||
証明書が色々怒られるかもだけど、とりあえずネットワーク内から接続できる。 saipi4は私のraspi4のhostname。
|
||||
|
||||
![[Pasted image 20240205205804.png]]
|
||||
|
||||
|
@ -116,13 +116,7 @@ systemctl status caddy
|
|||
```
|
||||
動いてる。
|
||||
|
||||
[Keep Caddy Running — Caddy Documentation](https://caddyserver.com/docs/running#local-https-with-systemd)
|
||||
ここの、 Local HTTPS with systemd の手順を実行して、localでアクセスした時におこられないようにする。
|
||||
|
||||
```
|
||||
$ sudo apt install libnss3-tools #(これが事前に必要)
|
||||
$ sudo /usr/local/caddy/cmd/caddy/caddy trust
|
||||
```
|
||||
|
||||
## cf.
|
||||
- [GitHub - caddyserver/caddy: Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS](https://github.com/caddyserver/caddy?tab=readme-ov-file#build-from-source)
|
||||
|
|
Loading…
Reference in a new issue