From f954156db37dd2fcec29872eeac425b5efc4ea47 Mon Sep 17 00:00:00 2001 From: xmax000 Date: Thu, 12 Apr 2018 10:02:05 +0200 Subject: [PATCH] Updated How to run on OpenWRT (markdown) --- How-to-run-on-OpenWRT.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/How-to-run-on-OpenWRT.md b/How-to-run-on-OpenWRT.md index 81aa9fc..7f5ed46 100644 --- a/How-to-run-on-OpenWRT.md +++ b/How-to-run-on-OpenWRT.md @@ -5,12 +5,12 @@ Setup and run acme.sh on your OpenWRT router and have https secured management. `opkg install luci-ssl-openssl curl ca-bundle` ### Step 2: Configure Web Server -Here we'll tell uhttpd not redirect to https +Here we'll tell uhttpd redirect to https These commands use the OpenWRT [`uci` command](https://wiki.openwrt.org/doc/uci), a brilliant way to parse, get, set, and edit values and sections from config files. It makes scripting OpenWRT a breeze. ``` -uci set uhttpd.main.redirect_https=0 +uci set uhttpd.main.redirect_https=1 uci commit /etc/init.d/uhttpd restart ```