Přístup k OpenResty
- Otevři v prohlížeči:
http://<SERVER_IP>
Důležité soubory a adresáře
- Hlavní konfigurace:
/usr/local/openresty/nginx/conf/nginx.conf - Adresář konfigurace:
/usr/local/openresty/nginx/conf - Knihovny Lua:
/usr/local/openresty/lualib - Kořen webu:
/usr/local/openresty/nginx/html - Adresář protokolů:
/usr/local/openresty/nginx/logs - Služba systemd:
/lib/systemd/system/openresty.service
Správa OpenResty
Zkontrolujte stav služby:
systemctl status openresty
Restartujte OpenResty:
systemctl restart openresty
Znovu načtěte konfiguraci:
systemctl reload openresty
Konfigurace testu:
openresty -t
Zobrazit logy:
journalctl -u openresty -f