From da9934563ceb3fde033b1751bdcc04f0cc3fdcc0 Mon Sep 17 00:00:00 2001 From: Daniel Pan Date: Fri, 22 Mar 2024 15:02:45 +0800 Subject: [PATCH] Update configuration for Nginx --- manual/deploy/https_with_nginx.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/manual/deploy/https_with_nginx.md b/manual/deploy/https_with_nginx.md index 024fbc77..60c5ab2e 100644 --- a/manual/deploy/https_with_nginx.md +++ b/manual/deploy/https_with_nginx.md @@ -194,8 +194,7 @@ server { } server { - listen 443; - ssl on; + listen 443 ssl; ssl_certificate /etc/letsencrypt/live/seafile.example.com/fullchain.pem; # Path to your fullchain.pem ssl_certificate_key /etc/letsencrypt/live/seafile.example.com/privkey.pem; # Path to your privkey.pem server_name seafile.example.com; @@ -317,8 +316,7 @@ The following sample Nginx configuration file for the host name seafile.example. server_tokens off; } server { - listen 443; - ssl on; + listen 443 ssl; ssl_certificate /etc/ssl/cacert.pem; # Path to your cacert.pem ssl_certificate_key /etc/ssl/privkey.pem; # Path to your privkey.pem server_name seafile.example.com;