Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
How to enable gzip?
How to enable gzip?
How to enable gzip?
I need runing MyBB.
I need runing MyBB.
Re: How to enable gzip?
Why do you think, gzip disabled?kudouyuzi wrote:How to enable gzip?
I need runing MyBB.
/etc/nginx/nginx.conf
Code: Select all
# Compression
gzip on;
gzip_comp_level 9;
gzip_min_length 512;
gzip_disable "msie6";
gzip_buffers 8 64k;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/x-font-ttf font/opentype;
gzip_vary on;
gzip_proxied any;
Re: How to enable gzip?
but apache dont open gzipskurudo wrote:Why do you think, gzip disabled?kudouyuzi wrote:How to enable gzip?
I need runing MyBB.
/etc/nginx/nginx.confCode: Select all
# Compression gzip on; gzip_comp_level 9; gzip_min_length 512; gzip_disable "msie6"; gzip_buffers 8 64k; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/x-font-ttf font/opentype; gzip_vary on; gzip_proxied any;
Re: How to enable gzip?
What error exactly do you get? When did you get this error?kudouyuzi wrote:but apache dont open gzip
Re: How to enable gzip?
cant display postsskurudo wrote:What error exatly do you get? When did you get this error?kudouyuzi wrote:but apache dont open gzip
Re: How to enable gzip?
Can you quote less? ;)kudouyuzi wrote:cant display posts
If you want apache gzip so badly, check enabled or not mod_deflate from console:
Code: Select all
a2enmod deflate
Code: Select all
Module deflate already enabled
Code: Select all
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
Re: How to enable gzip?
It's general steps, with no more information from you, hard to say what's going on on your server.
And, you know, PSI Corps forbid use telepathy over internet ;-)
And, you know, PSI Corps forbid use telepathy over internet ;-)
Re: How to enable gzip?
THXskurudo wrote:It's general steps, with no more information from you, hard to say what's going on on your server.
And, you know, PSI Corps forbid use telepathy over internet ;-)
Re: How to enable gzip?
fresh install vesta cp for centos only have this file types for gzip.
gzip_types text/plain text/css text/javascript
application/x-javascript;
gzip_types text/plain text/css text/javascript
application/x-javascript;