Mercurial Hosting > luan
comparison src/luan/modules/http/serve_for_nginx.luan @ 1178:49cf706c326a
serve_for_nginx on port 8081
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 13 Feb 2018 22:44:06 -0700 |
parents | 1aa6dd74f3fc |
children |
comparison
equal
deleted
inserted
replaced
1177:26533dd4cd09 | 1178:49cf706c326a |
---|---|
4 if #{...} ~= 1 then | 4 if #{...} ~= 1 then |
5 Io.stderr.write "usage: luan luan:http/serve_for_nginx dir\n" | 5 Io.stderr.write "usage: luan luan:http/serve_for_nginx dir\n" |
6 return | 6 return |
7 end | 7 end |
8 | 8 |
9 Server.port = 8081 | |
9 Server.serve_for_nginx(...) | 10 Server.serve_for_nginx(...) |