Created
March 9, 2015 03:40
-
-
Save carlos-wong/5d1a22bf3be7bbc626b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
include mime.types; | |
server { | |
listen 8080; | |
lua_code_cache off; | |
location / { | |
default_type text/html; | |
content_by_lua ' | |
require("lapis").serve("app") | |
'; | |
} | |
location /static/ { | |
alias static/; | |
} | |
location /favicon.ico { | |
alias static/favicon.ico; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment