From d6f84b1d7c8c17028e30b33b84a059f0f715839f Mon Sep 17 00:00:00 2001 From: lzhang Date: Sun, 30 Oct 2022 21:11:36 +0800 Subject: [PATCH 1/2] Add async-mode-nginx, which is from https://github.com/intel/asynch_mode_nginx and integrated in Anolis OS 8.6 --- async-mode-nginx/1.18.0/8.6/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 async-mode-nginx/1.18.0/8.6/Dockerfile diff --git a/async-mode-nginx/1.18.0/8.6/Dockerfile b/async-mode-nginx/1.18.0/8.6/Dockerfile new file mode 100644 index 0000000..b67b152 --- /dev/null +++ b/async-mode-nginx/1.18.0/8.6/Dockerfile @@ -0,0 +1,8 @@ +FROM openanolis/anolisos:8.6-x86_64 +ENV container docker +RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); rm -f /lib/systemd/system/multi-user.target.wants/*;rm -f /etc/systemd/system/*.wants/*;rm -f /lib/systemd/system/local-fs.target.wants/*; rm -f /lib/systemd/system/sockets.target.wants/*udev*; rm -f /lib/systemd/system/sockets.target.wants/*initctl*; rm -f /lib/systemd/system/basic.target.wants/*;rm -f /lib/systemd/system/anaconda.target.wants/*; +RUN yum --nogpgcheck --disablerepo=AppStream --repofrompath=ShangMi,https://mirrors.aliyun.com/anolis/8.6/ShangMi/x86_64/os -y install qatengine asynch_mode_nginx && yum clean all +VOLUME [ "/sys/fs/cgroup" ] +EXPOSE 80:443 +STOPSIGNAL SIGQUIT +CMD ["nginx", "-g", "daemon off;"] -- Gitee From 941cf0d821be6c216389e8b37c59e491146785e4 Mon Sep 17 00:00:00 2001 From: lzhang Date: Tue, 1 Nov 2022 15:26:14 +0800 Subject: [PATCH 2/2] change the repo url, add a simple README --- async-mode-nginx/1.18.0/8.6/Dockerfile | 2 +- async-mode-nginx/README.md | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 async-mode-nginx/README.md diff --git a/async-mode-nginx/1.18.0/8.6/Dockerfile b/async-mode-nginx/1.18.0/8.6/Dockerfile index b67b152..0831ad4 100644 --- a/async-mode-nginx/1.18.0/8.6/Dockerfile +++ b/async-mode-nginx/1.18.0/8.6/Dockerfile @@ -1,7 +1,7 @@ FROM openanolis/anolisos:8.6-x86_64 ENV container docker RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); rm -f /lib/systemd/system/multi-user.target.wants/*;rm -f /etc/systemd/system/*.wants/*;rm -f /lib/systemd/system/local-fs.target.wants/*; rm -f /lib/systemd/system/sockets.target.wants/*udev*; rm -f /lib/systemd/system/sockets.target.wants/*initctl*; rm -f /lib/systemd/system/basic.target.wants/*;rm -f /lib/systemd/system/anaconda.target.wants/*; -RUN yum --nogpgcheck --disablerepo=AppStream --repofrompath=ShangMi,https://mirrors.aliyun.com/anolis/8.6/ShangMi/x86_64/os -y install qatengine asynch_mode_nginx && yum clean all +RUN yum --nogpgcheck --disablerepo=AppStream --repofrompath=ShangMi,https://mirrors.openanolis.cn/anolis/8.6/ShangMi/x86_64/os -y install qatengine asynch_mode_nginx && yum clean all VOLUME [ "/sys/fs/cgroup" ] EXPOSE 80:443 STOPSIGNAL SIGQUIT diff --git a/async-mode-nginx/README.md b/async-mode-nginx/README.md new file mode 100644 index 0000000..12acd72 --- /dev/null +++ b/async-mode-nginx/README.md @@ -0,0 +1,13 @@ +Asynch Mode for NGINX\* + +## Introduction + +Nginx\* [engine x] is an HTTP and reverse proxy server, a mail proxy server, +and a generic TCP/UDP proxy server, originally written by Igor Sysoev. +Asynch mode for Nginx provides an extended Nginx working with asynchronous mode OpenSSL\*. +With Intel® QuickAssist Technology (QAT) acceleration, Asynch Mode for NGINX\* +can provide significant performance improvement. For more details please, see this [asynch_mode_nginx](https://github.com/intel/asynch_mode_nginx) project. + +Asynch_mode_nginx has been integrated in Anolis OS, and you can see more details from this [best practice document](https://openanolis.cn/sig/crypto/doc/390714951012679780). + +This image is based on Anolis OS 8.6 and asynch_mode_nginx, it is an easier way for users to experience the performance improvements it brings. -- Gitee