OpenResty'ye Erişim
- Tarayıcıda aç:
http://<SERVER_IP>
Önemli Dosyalar ve Dizinler
- Ana Yapılandırma:
/usr/local/openresty/nginx/conf/nginx.conf - Yapılandırma Dizini:
/usr/local/openresty/nginx/conf - Lua Kitaplıkları:
/usr/local/openresty/lualib - Web Kökü:
/usr/local/openresty/nginx/html - Günlük dizini:
/usr/local/openresty/nginx/logs - Systemd Servisi:
/lib/systemd/system/openresty.service
OpenResty'yi Yönetme
Servis durumunu kontrol edin:
systemctl status openresty
OpenResty'yi yeniden başlatın:
systemctl restart openresty
Yapılandırmayı yeniden yükleyin:
systemctl reload openresty
Test yapılandırması:
openresty -t
Logları göster:
journalctl -u openresty -f