Add conf/nginx.conf
This commit is contained in:
parent
62c583fb3f
commit
c9c430d41c
18
conf/nginx.conf
Normal file
18
conf/nginx.conf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
worker_processes 1;
|
||||||
|
error_log logs/error.log;
|
||||||
|
events {
|
||||||
|
worker_connections 1024;
|
||||||
|
}
|
||||||
|
http {
|
||||||
|
server {
|
||||||
|
root /opt/www;
|
||||||
|
listen 8080;
|
||||||
|
location / {
|
||||||
|
default_type text/html;
|
||||||
|
# content_by_lua_block {
|
||||||
|
# ngx.say("<p>hello, world</p>")
|
||||||
|
# }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user