[openresty] hello world
openresty 소프트웨어 배포
물론 nginx와 비슷합니다.
rewrite_by_lua_file에는 더 긴 코드가 적합합니다 뒤에 경로<code> location / { default_type <span>text</span>/html; content_by_lua ' ngx.<span>say</span>(<span>"<p>hello, world</p>"</span>) '; } </code>
<code> location / { content_by_lua_file lua/hello.lua; } [root<span>@test</span> nginx]<span># cat lua/hello.lua</span> ngx.<span>say</span>(<span>"<p>hello, world!!! hey man</p>"</span>) </code>
').text(i)); }; $numbering.fadeIn(1700); }); });
<code>lua_code_cache <span>off</span>;</code>