Browse Source

minor fixes

itix-theme
Nicolas Massé 6 years ago
parent
commit
61713a7cf2
  1. 2
      content/blog/install-openwrt-raspberry-pi.md
  2. 6
      content/blog/nginx-with-tls-on-openwrt.md

2
content/blog/install-openwrt-raspberry-pi.md

@ -292,7 +292,7 @@ ssh-keygen -N ""
And copy it to **/etc/dropbear/authorized_keys**.
```sh
ssh-keygen -y | ssh root@192.168.2.2 tee /etc/dropbear/authorized_keys
ssh-keygen -y -f ~/.ssh/id_rsa | ssh root@192.168.2.2 tee /etc/dropbear/authorized_keys
```
Copy it also to your user account.

6
content/blog/nginx-with-tls-on-openwrt.md

@ -46,6 +46,8 @@ Fetch the existing package feed.
scripts/feeds update -a
```
## Compile nginx with TLS
Rename the **nginx** feed to **nginx-tls** so that our rebuilt package does not mix with the existing OpenWRT packages.
```sh
@ -115,7 +117,7 @@ bin/packages/aarch64_cortex-a53/packages/libpcre_8.41-2_aarch64_cortex-a53.ipk
bin/packages/aarch64_cortex-a53/packages/nginx-tls_1.12.2-1_aarch64_cortex-a53.ipk
```
## Install nginx
## Create a local opkg repository
Create a directory on your Raspberry PI that will be used as an opkg repository.
@ -144,6 +146,8 @@ Copy the public key that signed the packages on your OpenWRT system.
scp key-build.pub root@raspberry-pi.example.test:/etc/opkg/keys/$(staging_dir/host/bin/usign -F -p key-build.pub)
```
## Install nginx
Install *nginx-tls* on your device.
```sh

Loading…
Cancel
Save