• Home
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

Hearing aid listed company official website SEO case

2023-05-23

how to use docker to run php5.6 plus apache

2023-05-15

Running the Apache HTTP Server with PHP inside Docker

2023-05-15
Facebook Twitter Instagram
  • 中文
  • English
Facebook Twitter Instagram Pinterest VKontakte
SEO & Website build tips SEO & Website build tips
  • Home
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us
SEO & Website build tips SEO & Website build tips
Home»nginx»nginx php-fpm fast-cgi gzip optimize config file
nginx

nginx php-fpm fast-cgi gzip optimize config file

OxfordBy Oxford2018-12-19Updated:2019-01-15No Comments1 Min Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest Email

vi /etc/nginx/conf.d/gzipfcgi.conf

gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.1;
gzip_comp_level 9;
gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/x-httpd-php;
gzip_vary on;

fastcgi_connect_timeout 1600;
fastcgi_send_timeout 1600;
fastcgi_read_timeout 1600;
fastcgi_buffer_size 62k;
fastcgi_buffers 4 62k;
fastcgi_busy_buffers_size 62k;
fastcgi_temp_file_write_size 62k;


client_header_timeout 200s; #调大点
client_body_timeout 200s; #调大点
client_max_body_size 100m; #主要是这个参数,限制了上传文件大大小
client_body_buffer_size 256k;
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Avatar photo
Oxford

Related Posts

secure wordpress with nginx config file

2021-06-08

how to setup W3 total cache on nginx server

2021-05-02

use simply static cache to instead fast-cgi cache to boost your wordpress 10x

2021-04-18

How to Configure nginx Reverse Proxy WordPress Cache for Apache

2021-04-15
Recent Posts
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
  • Running the Apache HTTP Server with PHP inside Docker
  • VideoJS – multiple source demo
  • Add custom field to Woocommerce tab
December 2018
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Nov   Jan »
Tags
app branding design digital Docly docs etc faq fix github Helpdesk Image issue magento Manual marketing memecached Photography planing seo sequrity tips Travel ui/ux web WordPress 爬虫
Editors Picks
About Us

Guangzhou Weilai Technology is a foreign trade integrated marketing service provider focusing on Google as the drainage center and marketing self-built website as the carrier.

Email Us: [email protected]
Contact: +86 18676917505

Facebook Pinterest YouTube LinkedIn
Recent Posts
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
  • Running the Apache HTTP Server with PHP inside Docker
  • VideoJS – multiple source demo
  • Add custom field to Woocommerce tab
From Flickr
Website Design Case
© 2023 Copyright by Guangzhou Weilai Technology Co.,Ltd..
  • Home
  • About Us
  • SEO Services
  • Website Design Service
  • Projects
  • Blog
  • Contact Us

Type above and press Enter to search. Press Esc to cancel.