diff options
| author | Татьяна Фарбер <alexandr@asustem.ru> | 2026-10-21 16:26:57 +0400 |
|---|---|---|
| committer | Татьяна Фарбер <alexandr@asustem.ru> | 2026-10-21 16:26:57 +0400 |
| commit | d22d972de0af96508b251f68774032426b4a3207 (patch) | |
| tree | 769a9dec7a2b40dfc08cb574da4de3d5f1d266f2 /nginx.conf | |
init
Diffstat (limited to 'nginx.conf')
| -rw-r--r-- | nginx.conf | 19 |
1 files changed, 19 insertions, 0 deletions
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; + } +} |
