added gzip to nginx.conf
This commit is contained in:
@@ -21,6 +21,11 @@ http {
|
|||||||
'"$request" $status $upstream_addr '
|
'"$request" $status $upstream_addr '
|
||||||
'"$http_referer" "$http_user_agent"';
|
'"$http_referer" "$http_user_agent"';
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
||||||
|
gzip_vary on;
|
||||||
|
gzip_types text/plain text/css text/javascript image/svg+xml image/x-icon application/javascript application/x-javascript;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
# listen on port 80
|
# listen on port 80
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|||||||
Reference in New Issue
Block a user