Skip to content

Commit

Permalink
新增SSI
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaffebabe committed Oct 7, 2019
1 parent afe7b02 commit cdc3b30
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions 后端开发/中间件/Nginx.md
Expand Up @@ -31,3 +31,26 @@ http{
}
}
```

# SSI

>服务端嵌入
ssi包含类似于jsp页面中的incluce指令,ssi是在web服务端将include指定 的页面包含在网页中,渲染html网页响 应给客户端 。nginx、apache等多数web容器都支持SSI指令。

```
<!‐‐#include virtual="/../....html"‐‐>
```

## 配置

```conf
server{
listen       80;
server_name  www.edu.com;     
ssi on;     
ssi_silent_errors on;     
.....
```


2 changes: 2 additions & 0 deletions 运维/容器管理.md
@@ -1,2 +1,4 @@
# Rancher

可以对容器进行分类、分环境管理,以图形化界面操作docker

0 comments on commit cdc3b30

Please sign in to comment.