forked from Theresa/cups-webring
Initial commit
This commit is contained in:
commit
91ff76ac29
16 changed files with 913 additions and 0 deletions
37
lapis/nginx.conf.compiled
Normal file
37
lapis/nginx.conf.compiled
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
env LAPIS_ENVIRONMENT=development;
|
||||
worker_processes 1;
|
||||
error_log stderr notice;
|
||||
daemon off;
|
||||
pid logs/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
|
||||
init_by_lua_block {
|
||||
require "lpeg"
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
lua_code_cache off;
|
||||
|
||||
location / {
|
||||
default_type text/html;
|
||||
content_by_lua_block {
|
||||
require("lapis").serve("app")
|
||||
}
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias static/;
|
||||
}
|
||||
|
||||
location /favicon.ico {
|
||||
alias static/favicon.ico;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue