Do you want to access the router via https from the WAN side?

You should check the files at /etc/lighttpd/conf.d/

The 30-openssl.conf is for https. Just change the port number

To access from wan side, you need to open port with the new number