Alpine Linux with Lighttp Https access

For higher security Lighttpd can be configured to allow only https access by a few simple steps.

To generate certificates, openssl is needed.

Change to the lighttpd configuration directory

cd /etc/lighttpd

With the command below the certificates are generated. Answer all questions.

Adjust the permissions

Configure Lighttpd
The configuration of lighttpd needs be be modified.

Uncomment this section and adjust the path. Or copy the example below into your configuration file.

Restart lighttpd

More details can be found in the Lighttpd documentation. A full article is available in the Alpine Linux wiki.

This entry was posted in Alpine Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.