Filip Tehlar | c204c87 | 2022-12-21 08:59:16 +0100 | [diff] [blame] | 1 | master_process on; |
| 2 | worker_rlimit_nofile 10240; |
| 3 | worker_processes 2; |
| 4 | daemon off; |
| 5 | |
| 6 | events { |
| 7 | use epoll; |
| 8 | worker_connections 10240; |
| 9 | accept_mutex off; |
| 10 | multi_accept off; |
| 11 | } |
| 12 | |
| 13 | http { |
| 14 | keepalive_timeout 300s; |
| 15 | keepalive_requests 1000000; |
| 16 | sendfile on; |
| 17 | server { |
| 18 | listen 80; |
| 19 | root /usr/share/nginx; |
| 20 | index index.html index.htm; |
| 21 | location /return_ok |
| 22 | { |
| 23 | return 200 ''; |
| 24 | } |
Filip Tehlar | 8df3de4 | 2023-01-27 13:14:34 +0100 | [diff] [blame] | 25 | location /64B.json |
| 26 | { |
| 27 | return 200 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; |
| 28 | } |
Filip Tehlar | c204c87 | 2022-12-21 08:59:16 +0100 | [diff] [blame] | 29 | } |
| 30 | } |