projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uhttpd: add support for enforcing https
[openwrt/staging/rmilecki.git]
/
package
/
network
/
services
/
uhttpd
/
files
/
uhttpd.config
diff --git
a/package/network/services/uhttpd/files/uhttpd.config
b/package/network/services/uhttpd/files/uhttpd.config
index 83734af5a9328bf385e2db6416f950fdcc9d105b..9df6e24527667fd793e43d7005cd705007dc4927 100644
(file)
--- a/
package/network/services/uhttpd/files/uhttpd.config
+++ b/
package/network/services/uhttpd/files/uhttpd.config
@@
-9,6
+9,9
@@
config uhttpd main
list listen_https 0.0.0.0:443
list listen_https [::]:443
+ # Redirect HTTP requests to HTTPS if possible
+ option redirect_https 1
+
# Server document root
option home /www