Skip to content

Commit

Permalink
add nginx ssl remark
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaopan committed Jun 8, 2024
1 parent 9020296 commit c6fe531
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ copy default.conf
# 根据自己需求修改配置文件
cp default.conf.example default.conf
```

ssl cert 相关

```bash

# 证书权限问题
chown -R root:root nginx/ssl
chmod -R 600 nginx/ssl

###
### 注意 证书路径前面不能有 '/'
###
ssl_certificate ssl/<domain>.com.pem;
ssl_certificate_key ssl/<domain>.com.key;


```


0 comments on commit c6fe531

Please sign in to comment.