uhttpd: don't redirect to HTTPS by default
[openwrt/staging/mkresin.git] / package / network / services / uhttpd / files / uhttpd.config
index 39089ca25b34bfdcc065682360030e3d3d6433ac..40ce67fd010f75c100a1573137fcd2faea241f4c 100644 (file)
@@ -10,7 +10,7 @@ config uhttpd main
        list listen_https       [::]:443
 
        # Redirect HTTP requests to HTTPS if possible
-       option redirect_https   1
+       option redirect_https   0
 
        # Server document root
        option home             /www
@@ -59,7 +59,7 @@ config uhttpd main
 
        # Specify the ubus-rpc prefix and socket path.
 #      option ubus_prefix      /ubus
-#      option ubus_socket      /var/run/ubus.sock
+#      option ubus_socket      /var/run/ubus/ubus.sock
 
        # CGI/Lua timeout, if the called script does not
        # write data within the given amount of seconds,
@@ -119,13 +119,13 @@ config cert defaults
        option days             730
 
        # key type: rsa or ec
-       option key_type         rsa
+       option key_type         ec
 
        # RSA key size
        option bits             2048
 
        # EC curve name
-       # Curve names vary between mbedtls/px5g and openssl
+       # Curve names vary between px5g-{wolfssl,mbedtls} and openssl
        # P-256 or P-384 are guaranteed to work
        option ec_curve         P-256