mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
nginx_build_script : add note regarding lua
This commit is contained in:
parent
dfa7a919e5
commit
585d05ccfb
@ -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`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user