server {
listen 8000 ssl;
ssl_certificate /path/to/ssl_files/xxx.pem;
ssl_certificate_key /path/to/ssl_files/xxx.key;
server_name www.test.com test.com;
}
- 访问
https://www.test.com:8000/
server {
listen 8000 ssl;
ssl_certificate /path/to/ssl_files/xxx.pem;
ssl_certificate_key /path/to/ssl_files/xxx.key;
server_name www.test.com test.com;
}
https://www.test.com:8000/