Accéder à OpenResty
- Ouvrir dans le navigateur :
http://<SERVER_IP>
Fichiers et répertoires importants
- Configuration principale :
/usr/local/openresty/nginx/conf/nginx.conf - Répertoire de configuration :
/usr/local/openresty/nginx/conf - Bibliothèques Lua :
/usr/local/openresty/lualib - Racine web :
/usr/local/openresty/nginx/html - Répertoire des journaux :
/usr/local/openresty/nginx/logs - Service systemd :
/lib/systemd/system/openresty.service
Gérer OpenResty
Vérifier l'état du service :
systemctl status openresty
Redémarrez OpenResty :
systemctl restart openresty
Rechargez la configuration :
systemctl reload openresty
Configuration de test :
openresty -t
Voir les logs :
journalctl -u openresty -f