Pagoda panel: Nginx turns on gzip to improve website access speed

888u

Last update at :2024-07-10,Edit by888u

Pagoda panel, enter your own website configuration, add the following code in front of the last }:

#turn on gzip gzip on; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types image/svg+xml text/plain text/html text/xml text/css text/javascript application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript application/x-font-ttf application /vnd.ms-fontobject font/opentype font/ttf font/eot font/otf;

Recommended site search: Hong Kong cloud host, cn domain name, virtual host, mainland China registration-free host, virtual host linux, the best virtual host in mainland China, enterprise virtual host, virtual host, space service provider, China IP segment,

Pagoda panel: Nginx turns on gzip to improve website access speed

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码