Acessando o Lighttpd
- Abrir no browser:
http://<SERVER_IP>
Gerenciando o Lighttpd
Verifique o status do serviço:
systemctl status lighttpd
Reinicie o Lighttpd:
systemctl restart lighttpd
Recarregue a configuração:
systemctl reload lighttpd
Ver registos:
journalctl -u lighttpd -f
Habilitar módulos adicionais
Liste os módulos disponíveis:
ls /etc/lighttpd/conf-available
Ative um módulo:
lighty-enable-mod <module-name>
systemctl restart lighttpd
Desative um módulo:
lighty-disable-mod <module-name>
systemctl restart lighttpd
Ficheiros e diretórios importantes
- Configuração principal:
/etc/lighttpd/lighttpd.conf - Diretório de configuração:
/etc/lighttpd/conf-available - Configurações habilitadas:
/etc/lighttpd/conf-enabled - Raiz da Web:
/var/www/html - Registros:
/var/log/lighttpd/