feat: add faq for customizing nginx config

This commit is contained in:
zclaiqcc
2023-07-06 15:25:24 +08:00
parent d4220cffe2
commit 0871d652fe

View File

@@ -139,3 +139,17 @@ server {
```shell
proxy_set_header X-Forwarded-Proto $scheme;
```
修改完成后运行命令检查配置文件
```shell
docker exec safeline-tengine nginx -t
```
检查应显示
```shell
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
```
最后应用配置文件
```shell
docker exec safeline-tengine nginx -s reload
```