Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for globalDomainNames (0.12 sec)

  1. cmd/common-main.go

    			}
    			globalDomainNames = append(globalDomainNames, domainName)
    		}
    		sort.Strings(globalDomainNames)
    		lcpSuf := lcpSuffix(globalDomainNames)
    		for _, domainName := range globalDomainNames {
    			if domainName == lcpSuf && len(globalDomainNames) > 1 {
    				logger.Fatal(config.ErrOverlappingDomainValue(nil).Msgf("Overlapping domains `%s` not allowed", globalDomainNames),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. cmd/config-current.go

    				globalDNSConfig, err = dns.NewCoreDNS(etcdCfg.Config,
    					dns.DomainNames(globalDomainNames),
    					dns.DomainIPs(globalDomainIPs),
    					dns.DomainPort(globalMinioPort),
    					dns.CoreDNSPath(etcdCfg.CoreDNSPath),
    				)
    				if err != nil {
    					configLogIf(ctx, fmt.Errorf("Unable to initialize DNS config for %s: %w",
    						globalDomainNames, err))
    				}
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/globals.go

    	globalNodeAuthToken      string
    	globalSiteReplicatorCred siteReplicatorCred
    
    	// Captures if root credentials are set via ENV.
    	globalCredViaEnv bool
    
    	globalPublicCerts []*x509.Certificate
    
    	globalDomainNames []string      // Root domains for virtual host style requests
    	globalDomainIPs   set.StringSet // Root domain IP address(s) for a distributed MinIO deployment
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    	}
    }
    
    func collectAPIStats(api string, f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    		if err != nil {
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    			apiErr := errorCodes.ToAPIErr(ErrUnsupportedHostHeader)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. cmd/api-router.go

    	api := objectAPIHandlers{
    		ObjectAPI: newObjectLayerFn,
    	}
    
    	// API Router
    	apiRouter := router.PathPrefix(SlashSeparator).Subrouter()
    
    	var routers []*mux.Router
    	for _, domainName := range globalDomainNames {
    		if IsKubernetes() {
    			routers = append(routers, apiRouter.MatcherFunc(func(r *http.Request, match *mux.RouteMatch) bool {
    				host, _, err := net.SplitHostPort(getHost(r))
    				if err != nil {
    					host = r.Host
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. cmd/generic-handlers.go

    // serves only limited purpose on redirect-handler for
    // browser requests.
    func getRedirectLocation(r *http.Request) *xnet.URL {
    	resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    	if err != nil {
    		return nil
    	}
    	bucket, _ := path2BucketObject(resource)
    	_, redirect := redirectPrefixes[path.Clean(bucket)]
    	if redirect || resource == slashSeparator {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	bucket := mux.Vars(r)["bucket"]
    	resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    	if err != nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	// Make sure that the URL does not contain object name.
    	if bucket != path.Clean(resource[1:]) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/utils.go

    func hasSpaceBE(s string) bool {
    	return strings.TrimSpace(s) != s
    }
    
    func request2BucketObjectName(r *http.Request) (bucketName, objectName string) {
    	path, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return path2BucketObject(path)
    }
    
    // path2BucketObjectWithBasePath returns bucket and prefix, if any,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		actualSize, _ := objInfo.GetActualSize()
    		defer globalReplicationStats.Load().UpdateReplicaStat(bucket, actualSize)
    	}
    
    	// Get object location.
    	location := getObjectLocation(r, globalDomainNames, bucket, object)
    	// Generate complete multipart response.
    	response := generateCompleteMultipartUploadResponse(bucket, object, location, objInfo, r.Header)
    	encodedSuccessResponse := encodeResponse(response)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    		}
    
    		if pools {
    			ctx2, cancel := context.WithTimeout(ctx, operationTimeout)
    			poolsInfo, _ = getPoolsInfo(ctx2, allDisks)
    			cancel()
    		}
    	}
    
    	domain := globalDomainNames
    	services := madmin.Services{
    		LDAP:          ldap,
    		Logger:        log,
    		Audit:         audit,
    		Notifications: notifyTarget,
    	}
    	{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top