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
option tcp_keepalive 1
# Basic auth realm, defaults to local hostname
-# option realm OpenWrt
+# option realm Lede
# Configuration file in busybox httpd format
# option config /etc/httpd.conf
# option no_ubusauth 0
-# Certificate defaults for px5g key generator
-config cert px5g
+# Defaults for automatic certificate and key generation
+config cert defaults
# Validity time
option days 730
# RSA key size
- option bits 1024
+ option bits 2048
# Location
- option country DE
- option state Berlin
- option location Berlin
+ option country ZZ
+ option state Somewhere
+ option location Unknown
# Common name
- option commonname OpenWrt
+ option commonname '%D'