uhttpd: add support for enforcing https
[openwrt.git] / package / network / services / uhttpd / files / uhttpd.config
index 83734af..9df6e24 100644 (file)
@@ -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