Cấu hình SSL cho domain trong Nginx
Các bạn thêm dòng sau vào
========
server {
listen 443 ssl;
server_name test.quantrinet.com
www.test.quantrinet.com;
ssl_certificate /etc/nginx/ssl/quantrinet.com.crt;
ssl_certificate_key /etc/nginx/ssl/Private.key;
}
File .crt thì bạn mở lên sau đó gôm các file certificate.crt và file ca... vào 1 file tên là quantrinet.com.crt
file .key thì để y như khi phát hành ssl.
Chúc bạn thành công