aboutsummaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf19
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;
+ }
+}