mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-28 12:52:58 +00:00
Update configuration for Nginx
This commit is contained in:
parent
65d902077a
commit
da9934563c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue