Hello!
On Wed, Jul 2, 2014 at 2:11 AM, Stefan Parvu wrote:
> Is there some advices how one would deploy lua scripts under
> nginx prefix or outside of it !?
>
> nginx/sbin
> /app -> here .lua script
> /static
>
Do not pollute the openresty/nginx installation tree with your own app
code and configurations. This is considered bad practice.
The nginx executable supports the -p <PATH> command-line option to
specify a runtime prefix, which should point to the directory of your
app, for example,
/path/to/your/nginx/sbin/nginx -p /path/to/your/app
This usage is demonstrated in the GettingStarted page on openresty.org:
http://openresty.org/#GettingStarted
Best regards,
-agentzh