Browse Source

Merge branch 'nancy-libevent2' of https://github.com/kekekeks/FrameworkBenchmarks into PR489

tfb 12 years ago
parent
commit
d5251e532c
1 changed files with 24 additions and 0 deletions
  1. 24 0
      nancy/nginx.conf.libevent

+ 24 - 0
nancy/nginx.conf.libevent

@@ -0,0 +1,24 @@
+# worker_processes n;
+pid /tmp/nginx.pid;
+error_log /dev/null crit;
+
+events {
+    worker_connections 8192;
+}
+
+http {
+    access_log off;
+
+    #upstream mono {
+    #    server 127.0.0.1:9001;
+    #}
+    include nginx.upstream.conf;
+
+    server {
+        listen 8080;
+
+        location / {
+            proxy_pass http://mono;
+        }
+    }
+}