summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/resources/nginx/nginx.conf
blob: 99073aab1abe24fd82f58f5f1a7f3aae05c3b7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
master_process on;
worker_rlimit_nofile 10240;
worker_processes 2;
daemon off;

events {
  use epoll;
  worker_connections  10240;
  accept_mutex       off;
  multi_accept       off;
}

http {
  keepalive_timeout 300s;
  keepalive_requests 1000000;
  sendfile on;
  server {
    listen 80;
    root /usr/share/nginx;
    index index.html index.htm;
    location /return_ok
    {
      return 200 '';
    }
    location /64B.json
    {
      return 200 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
    }
  }
}