From 585d05ccfb03a2ea86a7baee796ef42099b94b20 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sun, 24 Mar 2024 11:11:24 +0700 Subject: [PATCH] nginx_build_script : add note regarding lua --- nginx_build_script/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx_build_script/README.md b/nginx_build_script/README.md index 3060d14..e6c67c7 100644 --- a/nginx_build_script/README.md +++ b/nginx_build_script/README.md @@ -8,6 +8,11 @@ curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_scrip bash ~/nginx_scriptbox.sh ``` +#### Note : don't forgot to add necessary `lua_package_path` directive to `nginx.conf`, in the http context. else Nginx won't run. +```lua +lua_package_path "/opt/nginx-lua-module/lib/lua/?.lua;;"; +``` + systemd Template: `Location : /lib/systemd/system/nginx.service`