Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MINIO_COMPRESS_MIMETYPES (0.27 sec)

  1. internal/config/compress/legacy.go

    package compress
    
    import (
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    	// so keep them here to support existing deployments.
    	EnvCompressAllowEncryptionLegacy = "MINIO_COMPRESS_ALLOW_ENCRYPTION"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. internal/config/compress/compress.go

    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	if compressMimeTypesLegacy1 != "" {
    		mimeTypes, err := parseCompressIncludes(compressMimeTypesLegacy1)
    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESS_MIMETYPES value (`%s`)", err, mimeTypes)
    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	if compressMimeTypesLegacy2 != "" {
    		mimeTypes, err := parseCompressIncludes(compressMimeTypesLegacy2)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top