Improved performance by enabling gzip and caching.

This commit is contained in:
Bryce Covert
2019-02-25 17:24:08 -08:00
parent 62b6316242
commit 1fa6154f39
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
location ~* \.(png|jpg|jpeg|gif|ico)$ {
expires 2d;
add_header Cache-Control "public, no-transform";
proxy_pass http://local.app.integreatconsult.com;
}
location ~* \.(js|css)$ {
expires 15m;
add_header Cache-Control "public, no-transform";
proxy_pass http://local.app.integreatconsult.com;
}