diff options
author | clarkzjw <[email protected]> | 2023-01-20 10:21:10 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-20 10:21:10 -0800 |
commit | f1aebe3adc2b68f240d9118ae95e9ff93671ab66 (patch) | |
tree | b4ea255d648c37bf5f797c4a126224caa51209ac /clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2 | |
parent | 1fce024be20034ad4eef7646594eef0fbcc1b64e (diff) | |
download | homelab-f1aebe3adc2b68f240d9118ae95e9ff93671ab66.tar.gz |
bia: add nginx
Diffstat (limited to 'clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2')
-rw-r--r-- | clarkzjw.cc/config/bia/ansible/roles/cgit/templates/nginx.conf.j2 | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ | |||
1 | worker_processes auto; | ||
2 | |||
3 | events { | ||
4 | worker_connections 1024; | ||
5 | } | ||
6 | |||
7 | http { | ||
8 | include mime.types; | ||
9 | default_type application/octet-stream; | ||
10 | |||
11 | sendfile on; | ||
12 | keepalive_timeout 65; | ||
13 | gzip on; | ||
14 | |||
15 | |||
16 | include /usr/local/etc/nginx/conf.d/*.conf; | ||
17 | } | ||