caching header location hat problems
This commit is contained in:
parent
ad7e0d4ad4
commit
3e44db42d0
@ -14,11 +14,11 @@ server {
|
||||
}
|
||||
|
||||
# Caching headers
|
||||
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
|
||||
expires 30d;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
# location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
|
||||
# expires 30d;
|
||||
# add_header Pragma public;
|
||||
# add_header Cache-Control "public";
|
||||
# }
|
||||
|
||||
gzip on;
|
||||
gzip_comp_level 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user