Skip to content

Commit 0c54791

Browse files
authored
Create memo.md
init activate SSI
1 parent f2d866a commit 0c54791

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

NGINX/memo.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## SSIの有効化
2+
`/etc/nginx/conf.d/default.conf`
3+
```default.conf
4+
server {
5+
listen 80;
6+
server_name localhost;
7+
8+
location / {
9+
root /usr/share/nginx/html;
10+
index index.html index.htm;
11+
# 以下を追記する
12+
ssi on;
13+
ssi_last_modified on;
14+
}
15+
```

0 commit comments

Comments
 (0)