uhttpd: Make https redirect the default in luci
authorRISCi_ATOM <bob@bobcall.me>
Sun, 11 Aug 2024 20:45:06 +0000 (16:45 -0400)
committerRISCi_ATOM <bob@bobcall.me>
Sun, 11 Aug 2024 20:45:06 +0000 (16:45 -0400)
package/network/services/uhttpd/files/uhttpd.config

index 7e43681064116e4bdce176f42ec55343d39d8eb5..117594e8d0648789bd39f82e950f796419560ca6 100644 (file)
@@ -10,7 +10,7 @@ config uhttpd main
        list listen_https       [::]:443
 
        # Redirect HTTP requests to HTTPS if possible
-       option redirect_https   0
+       option redirect_https   1
 
        # Server document root
        option home             /www