Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 643 for vhost2 (0.07 sec)

  1. docs/pt/docs/tutorial/debugging.md

    $ python myapp.py
    ```
    
    </div>
    
    então a variável interna `__name__` no seu arquivo, criada automaticamente pelo Python, terá como valor a string `"__main__"`.
    
    Então, a seção:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    vai executar.
    
    ---
    
    Isso não acontecerá se você importar esse módulo (arquivo).
    
    Então, se você tiver outro arquivo `importer.py` com:
    
    ```Python
    from myapp import app
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. internal/logger/config.go

    		}
    		if !enabled {
    			continue
    		}
    		var brokers []xnet.Host
    		kafkaBrokers := getCfgVal(EnvKafkaBrokers, k, kv.Get(KafkaBrokers))
    		if len(kafkaBrokers) == 0 {
    			return cfg, config.Errorf("kafka 'brokers' cannot be empty")
    		}
    		for _, s := range strings.Split(kafkaBrokers, config.ValueSeparator) {
    			var host *xnet.Host
    			host, err = xnet.ParseHost(s)
    			if err != nil {
    				break
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. internal/http/check_port_linux.go

    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. docs/orchestration/docker-compose/nginx.conf

            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
                proxy_set_header Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 05 06:32:39 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. .bazelrc

    # START CROSS-COMPILE CONFIGS
    # Set execution platform to Linux x86
    # Note: Lot of the "host_" flags such as "host_cpu" and "host_crosstool_top"
    # flags seem to be actually used to specify the execution platform details. It
    # seems it is this way because these flags are old and predate the distinction
    # between host and execution platform.
    build:cross_compile_base --host_cpu=k8
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  6. cmd/http-tracer.go

    		for k, v := range reqHeaders {
    			inputBytes += len(k) + len(v)
    		}
    
    		// Calculate node name
    		nodeName := r.Host
    		if globalIsDistErasure {
    			nodeName = globalLocalNodeName
    		}
    		if host, port, err := net.SplitHostPort(nodeName); err == nil {
    			if port == "443" || port == "80" {
    				nodeName = host
    			}
    		}
    
    		// Calculate reqPath
    		reqPath := r.URL.RawPath
    		if reqPath == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. internal/config/dns/types.go

    import (
    	"encoding/json"
    	"time"
    )
    
    const (
    	defaultTTL            = 30
    	defaultContextTimeout = 5 * time.Minute
    )
    
    // SrvRecord - represents a DNS service record
    type SrvRecord struct {
    	Host     string      `json:"host,omitempty"`
    	Port     json.Number `json:"port,omitempty"`
    	Priority int         `json:"priority,omitempty"`
    	Weight   int         `json:"weight,omitempty"`
    	Text     string      `json:"text,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

            add(buildCryptoSx(client)) // 521 - server down
          }
          add(buildChantra(client))
        }
      }
    
      private fun getByIp(host: String): InetAddress {
        return try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/debugging.md

    ```
    
    </div>
    
    alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`.
    
    Ainsi, la section :
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    va s'exécuter.
    
    ---
    
    Cela ne se produira pas si vous importez ce module (fichier).
    
    Par exemple, si vous avez un autre fichier `importer.py` qui contient :
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. cmd/event-notification.go

    			},
    			Object: event.Object{
    				Key:       keyName,
    				VersionID: args.Object.VersionID,
    				Sequencer: uniqueID,
    			},
    		},
    		Source: event.Source{
    			Host:      args.Host,
    			UserAgent: args.UserAgent,
    		},
    	}
    
    	isRemovedEvent := args.EventName == event.ObjectRemovedDelete ||
    		args.EventName == event.ObjectRemovedDeleteMarkerCreated ||
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top