Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPassThroughServer (0.33 sec)

  1. pilot/pkg/model/gateway.go

    	if server.Bind != "" {
    		bind = "." + server.Bind
    	}
    	if p.IsHTTP() {
    		return "http" + "." + strconv.Itoa(int(portNumber)) + bind // Format: http.%d.%s
    	}
    
    	if p == protocol.HTTPS && !gateway.IsPassThroughServer(server) {
    		return "https" + "." + strconv.Itoa(int(server.Port.Number)) + "." +
    			server.Port.Name + "." + cfg.Name + "." + cfg.Namespace + bind // Format: https.%d.%s.%s.%s.%s
    	}
    
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    		} else if !p.IsTLS() && server.Tls != nil {
    			// only tls redirect is allowed if this is a HTTP server
    			if p.IsHTTP() {
    				if !gateway.IsPassThroughServer(server) ||
    					server.Tls.CaCertificates != "" || server.Tls.PrivateKey != "" || server.Tls.ServerCertificate != "" {
    					v = AppendValidation(v, fmt.Errorf("server cannot have TLS settings for plain text HTTP ports"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top