Update gzip_types
This commit is contained in:
parent
091ad334d2
commit
dff69933c4
@ -18,7 +18,9 @@ http {
|
||||
access_log /var/log/nginx/access.log main;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
gzip_static on;
|
||||
gzip on;
|
||||
gzip_types text/html text/css application/json text/javascript text/plain font/ttf;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
@ -35,6 +37,7 @@ http {
|
||||
index index.php;
|
||||
try_files $uri $uri/ $uri/index.php &uri/index.html =404;
|
||||
break;
|
||||
expire 4320;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
|
Loading…
Reference in New Issue
Block a user