From d22d972de0af96508b251f68774032426b4a3207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=B0=D1=82=D1=8C=D1=8F=D0=BD=D0=B0=20=D0=A4=D0=B0?= =?UTF-8?q?=D1=80=D0=B1=D0=B5=D1=80?= Date: Wed, 21 Oct 2026 16:26:57 +0400 Subject: init --- nginx.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nginx.conf (limited to 'nginx.conf') diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..a037ce3 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,19 @@ +user root; +worker_processes auto; +worker_rlimit_nofile 16000; + +events { + worker_connections 1024; +} + +stream { + lua_code_cache on; + server { + listen 1965 ssl; + ssl_alpn off; + ssl_certificate /etc/letsencrypt/live/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/privkey.pem; + ssl_protocols TLSv1.2 TLSv1.3; + content_by_lua_file /home/gemini/server.lua; + } +} -- cgit v1.2.3