Skip to content

Commit 4ec501f

Browse files
committed
adds simple caching
1 parent aa4d910 commit 4ec501f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nginxtest.conf

+3
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ server {
1010
proxy_set_header X-Real-IP $remote_addr;
1111
proxy_pass http://127.0.0.1:2370;
1212
}
13+
location ~* \.(htm?l|css|js) {
14+
expires 24h;
15+
}
1316
}

0 commit comments

Comments
 (0)