From f1aebe3adc2b68f240d9118ae95e9ff93671ab66 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 20 Jan 2023 10:21:10 -0800 Subject: bia: add nginx --- .../bia/ansible/roles/cgit/templates/nginx.conf.j2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2 (limited to 'clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2') diff --git a/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2 b/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2 new file mode 100644 index 0000000..1380132 --- /dev/null +++ b/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2 @@ -0,0 +1,17 @@ +worker_processes auto; + +events { + worker_connections 1024; +} + +http { + include mime.types; + default_type application/octet-stream; + + sendfile on; + keepalive_timeout 65; + gzip on; + + + include /usr/local/etc/nginx/conf.d/*.conf; +} -- cgit v1.2.3