15 lines
257 B
Nginx Configuration File
15 lines
257 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
lua_code_cache off;
|
|
|
|
location / {
|
|
default_type text/html;
|
|
|
|
# must happen before proxy_pass
|
|
access_by_lua_block {
|
|
require("aproxy.main")()
|
|
}
|
|
|
|
proxy_pass http://localhost:9999;
|
|
}
|
|
}
|