OpenResty aufrufen
- Im Browser öffnen:
http://<SERVER_IP>
Wichtige Dateien und Verzeichnisse
- Hauptkonfiguration:
/usr/local/openresty/nginx/conf/nginx.conf - Konfigurationsverzeichnis:
/usr/local/openresty/nginx/conf - Lua-Bibliotheken:
/usr/local/openresty/lualib - Webroot:
/usr/local/openresty/nginx/html - Protokollverzeichnis:
/usr/local/openresty/nginx/logs - Systemd-Dienst:
/lib/systemd/system/openresty.service
OpenResty verwalten
Dienststatus prüfen:
systemctl status openresty
Starte OpenResty neu:
systemctl restart openresty
Konfiguration neu laden:
systemctl reload openresty
Testkonfiguration:
openresty -t
Logs ansehen:
journalctl -u openresty -f