nginx_build_script : add note regarding lua

This commit is contained in:
minoplhy 2024-03-24 11:11:24 +07:00
parent dfa7a919e5
commit 585d05ccfb
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -8,6 +8,11 @@ curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_scrip
bash ~/nginx_scriptbox.sh 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: systemd Template:
`Location : /lib/systemd/system/nginx.service` `Location : /lib/systemd/system/nginx.service`