mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
uhttpd: disable https redir
This commit is contained in:
parent
04f6d885bd
commit
57c30e4128
@ -15,7 +15,7 @@ DEVICE_TYPE?=router
|
|||||||
# Default packages - the really basic set
|
# Default packages - the really basic set
|
||||||
DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd urandom-seed urngd \
|
DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd urandom-seed urngd \
|
||||||
block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw wget libustream-openssl ca-certificates \
|
block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw wget libustream-openssl ca-certificates \
|
||||||
default-settings luci luci-app-ddns luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot \
|
default-settings luci luci-app-ddns luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot luci-app-webadmin \
|
||||||
luci-app-filetransfer luci-app-vsftpd luci-app-ssr-plus luci-app-unblockmusic \
|
luci-app-filetransfer luci-app-vsftpd luci-app-ssr-plus luci-app-unblockmusic \
|
||||||
luci-app-arpbind luci-app-vlmcsd luci-app-wol luci-app-ramfree \
|
luci-app-arpbind luci-app-vlmcsd luci-app-wol luci-app-ramfree \
|
||||||
luci-app-sfe luci-app-nlbwmon luci-app-accesscontrol luci-app-cpufreq \
|
luci-app-sfe luci-app-nlbwmon luci-app-accesscontrol luci-app-cpufreq \
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uhttpd
|
PKG_NAME:=uhttpd
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uhttpd.git
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uhttpd.git
|
||||||
|
@ -5,12 +5,8 @@ config uhttpd main
|
|||||||
list listen_http 0.0.0.0:80
|
list listen_http 0.0.0.0:80
|
||||||
list listen_http [::]:80
|
list listen_http [::]:80
|
||||||
|
|
||||||
# HTTPS listen addresses, multiple allowed
|
|
||||||
list listen_https 0.0.0.0:443
|
|
||||||
list listen_https [::]:443
|
|
||||||
|
|
||||||
# Redirect HTTP requests to HTTPS if possible
|
# Redirect HTTP requests to HTTPS if possible
|
||||||
option redirect_https 1
|
option redirect_https 0
|
||||||
|
|
||||||
# Server document root
|
# Server document root
|
||||||
option home /www
|
option home /www
|
||||||
|
Loading…
Reference in New Issue
Block a user