nginx....
This commit is contained in:
parent
04c163e590
commit
f5edb974d7
@ -8,15 +8,12 @@ server {
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
expires 1y;
|
||||
etag off;
|
||||
if_modified_since off;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
location ~* \.(js|css|jpg|jpeg|png|gif|js|css|ico|swf)$ {
|
||||
expires 1y;
|
||||
etag off;
|
||||
if_modified_since off;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /404.html {
|
||||
root /usr/share/nginx/html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user