Toegang tot OpenResty
- Openen in browser:
http://<SERVER_IP>
Belangrijke bestanden en mappen
- Hoofdconfiguratie:
/usr/local/openresty/nginx/conf/nginx.conf - Configuratiemap:
/usr/local/openresty/nginx/conf - Lua-bibliotheken:
/usr/local/openresty/lualib - Webroot:
/usr/local/openresty/nginx/html - Logmap:
/usr/local/openresty/nginx/logs - Systemd-service:
/lib/systemd/system/openresty.service
OpenResty beheren
Controleer de servicestatus:
systemctl status openresty
Herstart OpenResty:
systemctl restart openresty
Herlaad de configuratie:
systemctl reload openresty
Testconfiguratie:
openresty -t
Logs bekijken:
journalctl -u openresty -f