الوصول إلى OpenResty
- افتح في المتصفح:
http://<SERVER_IP>
الملفات والمجلدات المهمة
- الإعدادات الرئيسية:
/usr/local/openresty/nginx/conf/nginx.conf - دليل الإعداد:
/usr/local/openresty/nginx/conf - مكتبات Lua:
/usr/local/openresty/lualib - جذر الويب:
/usr/local/openresty/nginx/html - دليل السجلات:
/usr/local/openresty/nginx/logs - خدمة Systemd:
/lib/systemd/system/openresty.service
إدارة OpenResty
التحقق من حالة الخدمة:
systemctl status openresty
أعد تشغيل OpenResty:
systemctl restart openresty
أعد تحميل الإعدادات:
systemctl reload openresty
إعداد الاختبار:
openresty -t
عرض السجلات:
journalctl -u openresty -f