aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/resources/nginx/nginx.conf
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2022-12-21 08:59:16 +0100
committerFilip Tehlar <ftehlar@cisco.com>2023-01-09 11:39:06 +0100
commitc204c87c186993704927beffa4d5b1cafaf9a193 (patch)
treeeeb2e5e7a8baad5252df7c8e02c488a2b88432bc /extras/hs-test/resources/nginx/nginx.conf
parent227660b9969410f29d6b3d14eba16be5f57fbffe (diff)
hs-test: add nginx test
Type: test Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Idd5352f254df0d1f36c1270e73440c9287247b81
Diffstat (limited to 'extras/hs-test/resources/nginx/nginx.conf')
-rw-r--r--extras/hs-test/resources/nginx/nginx.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/extras/hs-test/resources/nginx/nginx.conf b/extras/hs-test/resources/nginx/nginx.conf
new file mode 100644
index 00000000000..ec83aa9fbc8
--- /dev/null
+++ b/extras/hs-test/resources/nginx/nginx.conf
@@ -0,0 +1,26 @@
+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 '';
+ }
+ }
+}