Skip to content

Commit 4ec501f

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

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎nginxtest.conf‎

Lines changed: 3 additions & 0 deletions
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)