mirror of
				https://github.com/mashirozx/docker-php-nginx.git
				synced 2025-05-29 01:49:24 +08:00 
			
		
		
		
	Merge pull request #32 from erseco/patch-2
Enable gzip compression on nginx
This commit is contained in:
		
						commit
						918f3905dd
					
				@ -82,7 +82,13 @@ http {
 | 
			
		||||
            fastcgi_pass 127.0.0.1:9000;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
    gzip on;
 | 
			
		||||
    gzip_proxied any;
 | 
			
		||||
    gzip_types text/plain application/xml text/css text/js text/xml application/x-javascript text/javascript application/json application/xml+rss;
 | 
			
		||||
    gzip_vary on;
 | 
			
		||||
    gzip_disable "msie6";
 | 
			
		||||
    
 | 
			
		||||
    # Include other server configs
 | 
			
		||||
    include /etc/nginx/conf.d/*.conf;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user