nixos/nginx: remove usage of recommendedZstdSettings and zstd settings duplication
This commit is contained in:
		
							parent
							
								
									1a6187704f
								
							
						
					
					
						commit
						0f964599a5
					
				| @ -171,14 +171,6 @@ let | ||||
|           quic_bpf on; | ||||
|         ''} | ||||
| 
 | ||||
|         ${optionalString cfg.experimentalZstdSettings '' | ||||
|           zstd on; | ||||
|           zstd_comp_level 9; | ||||
|           zstd_min_length 256; | ||||
|           zstd_static on; | ||||
|           zstd_types ${lib.concatStringsSep " " compressMimeTypes}; | ||||
|         ''} | ||||
| 
 | ||||
|         ${cfg.config} | ||||
| 
 | ||||
|         ${optionalString (cfg.eventsConfig != "" || cfg.config == "") '' | ||||
| @ -250,7 +242,7 @@ let | ||||
|               '' | ||||
|             } | ||||
| 
 | ||||
|             ${optionalString cfg.recommendedZstdSettings '' | ||||
|             ${optionalString cfg.experimentalZstdSettings '' | ||||
|               zstd on; | ||||
|               zstd_comp_level 9; | ||||
|               zstd_min_length 256; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sandro Jäckel
						Sandro Jäckel