summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/nginx.conf48
-rw-r--r--docker-compose.yml12
-rw-r--r--ssl/server.crt16
-rw-r--r--ssl/server.key15
-rw-r--r--static/128B.htmlbin0 -> 128 bytes
-rw-r--r--static/16K.htmlbin0 -> 16384 bytes
-rw-r--r--static/1K.htmlbin0 -> 1024 bytes
-rw-r--r--static/1M.htmlbin0 -> 1048576 bytes
-rw-r--r--static/256B.htmlbin0 -> 256 bytes
-rw-r--r--static/2K.htmlbin0 -> 2048 bytes
-rw-r--r--static/2M.htmlbin0 -> 2097152 bytes
-rw-r--r--static/32K.htmlbin0 -> 32768 bytes
-rw-r--r--static/4K.htmlbin0 -> 4096 bytes
-rw-r--r--static/4M.htmlbin0 -> 4194304 bytes
-rw-r--r--static/512B.html4
-rw-r--r--static/64K.htmlbin0 -> 65536 bytes
-rw-r--r--static/8K.htmlbin0 -> 8192 bytes
17 files changed, 95 insertions, 0 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf
new file mode 100644
index 0000000..cd85b02
--- /dev/null
+++ b/conf/nginx.conf
@@ -0,0 +1,48 @@
+user nginx;
+worker_processes 32;
+worker_rlimit_nofile 131072;
+
+error_log /var/log/nginx/error.log warn;
+pid /var/run/nginx.pid;
+
+events {
+ worker_connections 32768;
+ use epoll;
+ multi_accept off;
+ accept_mutex off;
+}
+
+http {
+ tcp_nopush on;
+ tcp_nodelay on;
+ access_log off;
+
+ sendfile on;
+ keepalive_timeout 30;
+ gzip off;
+
+ server {
+ listen 443 ssl reuseport;
+ server_name www.server.com www.server1.com;
+
+ ssl_certificate /etc/nginx/ssl/server.crt;
+ ssl_certificate_key /etc/nginx/ssl/server.key;
+ ssl_session_tickets on;
+ ssl_session_cache off;
+ ssl_session_cache shared:SSL:30m;
+ ssl_session_timeout 30m;
+ ssl_protocols SSLv2 SSLv3 TLSv1.2;
+ ssl_ciphers HIGH:!aNULL:!MD5;
+ ssl_prefer_server_ciphers on;
+
+ location / {
+ root /usr/share/nginx/html;
+ index index.html index.htm;
+ }
+
+ error_page 500 502 503 504 /50x.html;
+ location = /50x.html {
+ root /usr/share/nginx/html;
+ }
+ }
+}
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..a2d11a6
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,12 @@
+version: '3'
+services:
+ nginx:
+ image: nginx:latest
+ container_name: performance-test-nginx-server
+ volumes:
+ - ./conf/nginx.conf:/etc/nginx/nginx.conf
+ - ./ssl/:/etc/nginx/ssl/
+ - ./static/:/usr/share/nginx/html/
+ ports:
+ - 80:80
+ - 443:443
diff --git a/ssl/server.crt b/ssl/server.crt
new file mode 100644
index 0000000..aacf06a
--- /dev/null
+++ b/ssl/server.crt
@@ -0,0 +1,16 @@
+-----BEGIN CERTIFICATE-----
+MIICdDCCAd0CFE27cWzYn7iZ1TW4WXWRnIwttX4BMA0GCSqGSIb3DQEBCwUAMHkx
+CzAJBgNVBAYTAkNOMQswCQYDVQQIDAJTQzELMAkGA1UEBwwCQ0QxCjAIBgNVBAoM
+AVMxCjAIBgNVBAsMAVMxFzAVBgNVBAMMDnd3dy5zZXJ2ZXIuY29tMR8wHQYJKoZI
+hvcNAQkBFhBhZG1pbkBzZXJ2ZXIuY29tMB4XDTE4MDgxODE5MDUyMVoXDTE5MDgx
+ODE5MDUyMVoweTELMAkGA1UEBhMCQ04xCzAJBgNVBAgMAlNDMQswCQYDVQQHDAJD
+RDEKMAgGA1UECgwBUzEKMAgGA1UECwwBUzEXMBUGA1UEAwwOd3d3LnNlcnZlci5j
+b20xHzAdBgkqhkiG9w0BCQEWEGFkbWluQHNlcnZlci5jb20wgZ8wDQYJKoZIhvcN
+AQEBBQADgY0AMIGJAoGBAOTYEI2NvZb5+5Hk2XTERFz2zzwPuOd2k10GICW7q6/k
+BWwF9iibRhtdqgcCL1WhacdMwBD3dcqPCkKBkFigFZ9HWEtdacoZvySg7I8pl9HA
+Ln42PWHeudFsf0zqNG1+t5ZjaMBoBEs/4zm1KNbwAFmE1IPpW+Yh6SkoLHIai3jh
+AgMBAAEwDQYJKoZIhvcNAQELBQADgYEAIaO4G2nak8TPl8pPBeVSZnH0e8sX1s1P
+Q1VjHnhSCSYnaB0/9j/ofV1a4avul0Mfqcq8hykyvV0dbU5KuYgGXDMnvKEcqd7j
+6kEwIs5CJaga4ipirh77ZjQlOkEsJDw3P6mI2mHX/ZcFOxlbHGAjWG76E0unnd7x
+AQzawqsKctM=
+-----END CERTIFICATE-----
diff --git a/ssl/server.key b/ssl/server.key
new file mode 100644
index 0000000..ddb2cab
--- /dev/null
+++ b/ssl/server.key
@@ -0,0 +1,15 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICXgIBAAKBgQDk2BCNjb2W+fuR5Nl0xERc9s88D7jndpNdBiAlu6uv5AVsBfYo
+m0YbXaoHAi9VoWnHTMAQ93XKjwpCgZBYoBWfR1hLXWnKGb8koOyPKZfRwC5+Nj1h
+3rnRbH9M6jRtfreWY2jAaARLP+M5tSjW8ABZhNSD6VvmIekpKCxyGot44QIDAQAB
+AoGAHa1TgDf4dULX+BSYiscFIpUzTNOxI/tBoxevRZVv73B/r4GaaauxTM05xozm
+/JDhOeJfKhQdZ3ZjWzqYMJYaF34IS0/Iqzu7rLjazy8jOWLfsZSSAzWECDnPHe9z
+IIMXm813k5aXwgK3XMSiuIoODpFd76nEI+cRSHK5TC3lUxECQQD5GMNbRyl/O2Cv
+Ul52xNM4OK8NPuL0aLMx4rA+QgFrWk3qQnyQEAt23Dv943G98ni9JNCUKgbNMQCn
+xJTbbjQtAkEA6y+d7yjU8S0X0LldT0LoqQAv9jEi2VnzjVBxdffI7sN1FJfw0xBk
+8Maq8WPnHW7wnGrIRqb2o3NYi3APZHrEBQJBANOZ7ZoEgYPLdP56AjTyTltcC5g8
+656jslWWNBEvEPWY6McvY5EdkB+QRoYOR/kLmPVT6Lt0WALGtb/OhoVAwKECQQCU
+ASxX5I9Vk3YoUW7qQYYfTNHiEfwHYndGGDi+74eQ0opswk241dlgOPY84Q0B1d4v
+4XdWFx6hsCYp4gSdzDBtAkEAtk0OJ4HTgppMZ7l1rPndIRlkG53eIZt+qOhv4k1S
+d8eHeg24sWVKdObizmr3P++dfxuwZEPO2qlCrgVPPUynjw==
+-----END RSA PRIVATE KEY-----
diff --git a/static/128B.html b/static/128B.html
new file mode 100644
index 0000000..99ec9fd
--- /dev/null
+++ b/static/128B.html
Binary files differ
diff --git a/static/16K.html b/static/16K.html
new file mode 100644
index 0000000..3752c56
--- /dev/null
+++ b/static/16K.html
Binary files differ
diff --git a/static/1K.html b/static/1K.html
new file mode 100644
index 0000000..500a775
--- /dev/null
+++ b/static/1K.html
Binary files differ
diff --git a/static/1M.html b/static/1M.html
new file mode 100644
index 0000000..89f1431
--- /dev/null
+++ b/static/1M.html
Binary files differ
diff --git a/static/256B.html b/static/256B.html
new file mode 100644
index 0000000..9f972e7
--- /dev/null
+++ b/static/256B.html
Binary files differ
diff --git a/static/2K.html b/static/2K.html
new file mode 100644
index 0000000..39bab7c
--- /dev/null
+++ b/static/2K.html
Binary files differ
diff --git a/static/2M.html b/static/2M.html
new file mode 100644
index 0000000..0f72b1c
--- /dev/null
+++ b/static/2M.html
Binary files differ
diff --git a/static/32K.html b/static/32K.html
new file mode 100644
index 0000000..12b1c4c
--- /dev/null
+++ b/static/32K.html
Binary files differ
diff --git a/static/4K.html b/static/4K.html
new file mode 100644
index 0000000..477cc79
--- /dev/null
+++ b/static/4K.html
Binary files differ
diff --git a/static/4M.html b/static/4M.html
new file mode 100644
index 0000000..e55135d
--- /dev/null
+++ b/static/4M.html
Binary files differ
diff --git a/static/512B.html b/static/512B.html
new file mode 100644
index 0000000..93331fd
--- /dev/null
+++ b/static/512B.html
@@ -0,0 +1,4 @@
+���f��&`a s��R^���c�{Z����"�ѮT�k�Zx��n������D�KW~��5c�,��]űՅǿ�TeW�r����j�]�V��q]4
+���BmKWƵP�睂���P�bv���9zQ�5Ze�PW��( uě" + l����΀p�6<��2��U�Fu1S���* �O��6 �>)(�YׁZr��G9�`I
+};�׏�#�jѿ�������P�{Zw��b�Io��|gj;p��c���#){a�p�g�C���*�]����e��v�[�ͩ��Ͽ�)�n�\ó��@d���;��
+��d��+댖+&�)� �iX<�xz� �>�&�����}��Ie��^�rl��5q����sV����ޠ+_qHba���6:s��ZG�W��!u[�ا�`=; ��sL�(U�����$�?*+�/�H�?Hu�� ��k�)��c�Ѷ:�5g��r���R�G�Ƭq�����ٞ1'$Z����Q��r�< \ No newline at end of file
diff --git a/static/64K.html b/static/64K.html
new file mode 100644
index 0000000..d582e26
--- /dev/null
+++ b/static/64K.html
Binary files differ
diff --git a/static/8K.html b/static/8K.html
new file mode 100644
index 0000000..531c8db
--- /dev/null
+++ b/static/8K.html
Binary files differ