aboutsummaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf
new file mode 100644
index 0000000..3a61a3e
--- /dev/null
+++ b/nginx.conf
@@ -0,0 +1,15 @@
+user root;
+worker_processes auto;
+worker_rlimit_nofile 16000;
+
+events {
+ worker_connections 1024;
+}
+
+stream {
+ lua_code_cache on;
+ server {
+ listen 70;
+ content_by_lua_file /home/gopher/server.lua;
+ }
+}