Update gzip_types

This commit is contained in:
Fred Boniface 2023-02-16 15:42:09 +00:00
parent 091ad334d2
commit dff69933c4

View File

@ -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$ {