commit(auto)

This commit is contained in:
Kaz Saita(WSL2) 2024-02-05 16:50:06 +09:00
parent 89d74f7b12
commit b4aca3dd70
2 changed files with 7 additions and 1 deletions

View file

@ -42,4 +42,5 @@ $ sudo reboot (最新にしたので再起動)
```
`
### WEBサーバーを入れる
[[20240205150537 Caddyをraspi4にインストール|Caddyをraspi4にインストール]]
- [[20240205150537 Caddyをraspi4にインストール|Caddyをraspi4にインストール]]
- [[20240205164639 Caddyの設定|Caddyの設定]]

View file

@ -18,7 +18,12 @@ $ sudo apt install git (インストールしてなければ)
$ git clone --depth=1 https://github.com/caddyserver/caddy.git
$ cd caddy/cmd/caddy/
$ go build
$ cd ../../..
$ sudo mv caddy /usr/local
```
`/usr/local/caddy/cmd/caddy`
にパスを通す。 /etc/profileに追加。
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)