diff --git a/Docker/nginx/default.conf b/Docker/nginx/default.conf index da28a18..7dd547d 100644 --- a/Docker/nginx/default.conf +++ b/Docker/nginx/default.conf @@ -35,4 +35,15 @@ server { location ~ /\.ht { deny all; } + + gzip on; + gzip_types application/json; + + gzip_http_version 1.0; + gzip_static on; + + location ~* \.(js|css|ttf|json)$ { + gzip_static on; + } + }