diff --git a/app.rockspec b/app.rockspec index 31f47d1..739d7e0 100644 --- a/app.rockspec +++ b/app.rockspec @@ -1,4 +1,5 @@ dependencies = { + "moonscript", "lapis", "https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec", } diff --git a/nginx.conf b/nginx.conf index 9e88115..553614a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,6 +16,7 @@ http { location / { default_type text/html; content_by_lua ' + require("moonscript") require("lapis").serve("app") '; }