Accedere a OpenResty
- Apri nel browser:
http://<SERVER_IP>
File e directory importanti
- Configurazione principale:
/usr/local/openresty/nginx/conf/nginx.conf - Directory di configurazione:
/usr/local/openresty/nginx/conf - Librerie Lua:
/usr/local/openresty/lualib - Radice web:
/usr/local/openresty/nginx/html - Directory dei log:
/usr/local/openresty/nginx/logs - Servizio systemd:
/lib/systemd/system/openresty.service
Gestire OpenResty
Controlla lo stato del servizio:
systemctl status openresty
Riavvia OpenResty:
systemctl restart openresty
Ricarica la configurazione:
systemctl reload openresty
Configurazione del test:
openresty -t
Visualizza i log:
journalctl -u openresty -f