Adgang til OpenResty
- Åbn i browser:
http://<SERVER_IP>
Vigtige filer og mapper
- Hovedkonfiguration:
/usr/local/openresty/nginx/conf/nginx.conf - Konfigurationsmappe:
/usr/local/openresty/nginx/conf - Lua-biblioteker:
/usr/local/openresty/lualib - Webroot:
/usr/local/openresty/nginx/html - Logmappe:
/usr/local/openresty/nginx/logs - Systemd-tjeneste:
/lib/systemd/system/openresty.service
Administration af OpenResty
Tjek tjenestens status:
systemctl status openresty
Genstart OpenResty:
systemctl restart openresty
Genindlæs konfigurationen:
systemctl reload openresty
Testkonfiguration:
openresty -t
Se logs:
journalctl -u openresty -f