更新 'linux基础/nginx/配置nginx转发.md'
This commit is contained in:
parent
1a34a45240
commit
b4cb2ef43b
1 changed files with 7 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
||||||
(如果需要转发的网站较多,为方便查询,可以在目录中添加对应的配置文件(建议新建目录放配置文件)
|
(如果需要转发的网站较多,为方便查询,可以在目录中添加对应的配置文件(建议新建目录放配置文件)
|
||||||
如vhost_test.iboxpay.com.conf)
|
如vhost_test.iboxpay.com.conf)
|
||||||
添加如下内容
|
添加如下内容
|
||||||
|
```shell
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name test.iboxpay.com;
|
server_name test.iboxpay.com;
|
||||||
|
@ -18,3 +19,4 @@
|
||||||
client_max_body_size 10m;
|
client_max_body_size 10m;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue