projects
/
openwrt.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.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
83734af
..
9df6e24
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