diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-12-15 12:27:52 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-12-15 12:27:52 +0000 |
commit | 44ed72572103b01d6bea4f793a8c781ac052fd68 (patch) | |
tree | bc424c218df0716179e8c80fc91595d9292c102d /etc/nginx | |
parent | 3f73d85c3b5b8210f7246383561130b104881067 (diff) |
update
Diffstat (limited to 'etc/nginx')
-rw-r--r-- | etc/nginx/nginx.conf | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 4e965984..1be0dc79 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -34,7 +34,18 @@ http { server { listen 80; - server_name localhost; + # https://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server + listen 443 ssl; + server_name flylightning.xyz; + + ssl_certificate /etc/nginx/flylightning.pem; + ssl_certificate_key /etc/nginx/flylightning.key; + + ssl_session_cache shared:SSL:1m; + #ssl_session_timeout 5m; + + #ssl_ciphers HIGH:!aNULL:!MD5; + ssl_prefer_server_ciphers on; #charset koi8-r; |