Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 644 for host (0.14 sec)

  1. docs/ru/docs/tutorial/debugging.md

    </div>
    
    то встроенная переменная `__name__`, автоматически создаваемая Python в вашем файле, будет иметь значение строкового типа `"__main__"`.
    
    Тогда выполнится условие и эта часть кода:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    будет запущена.
    
    ---
    
    Но этого не произойдет, если вы импортируете этот модуль (файл).
    
    Таким образом, если у вас есть файл `importer.py` с таким импортом:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    		Timeout: 5 * time.Second,
    	}
    	var res TestGrid
    	res.Hosts = hosts
    	ready := make(chan struct{})
    	ctx, cancel := context.WithCancel(context.Background())
    	res.cancel = cancel
    	for i, host := range hosts {
    		manager, err := NewManager(ctx, ManagerOptions{
    			Dialer: dialer.DialContext,
    			Local:  host,
    			Hosts:  hosts,
    			AuthRequest: func(r *http.Request) error {
    				return nil
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

      }
    
      public void testSerialization() {
        SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("host"));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("host:80"));
        SerializableTester.reserializeAndAssert(HostAndPort.fromString("[::1]:104"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. .github/workflows/mint/nginx-1-node.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;
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. cni/test/testdata/env_vars.sh

    KUBE_DNS_SERVICE_PORT_DNS=53
    # shellcheck disable=SC2034
    KUBE_DNS_SERVICE_PORT_DNS_TCP=53
    # shellcheck disable=SC2034
    KUBERNETES_SERVICE_HOST=10.110.0.1
    # shellcheck disable=SC2034
    KUBE_DNS_PORT_53_UDP_PORT=53
    # shellcheck disable=SC2034
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 1.9K bytes
    - Viewed (0)
  6. .github/workflows/mint/nginx-8-node.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;
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. 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;
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 05 06:32:39 GMT 2022
    - 3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/middleware.md

    ```
    
    ## `TrustedHostMiddleware`
    
    Enforces that all incoming requests have a correctly set `Host` header, in order to guard against HTTP Host Header attacks.
    
    ```Python hl_lines="2  6-8"
    {!../../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    The following arguments are supported:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. buildscripts/disable-root.sh

    	"http://127.0.0.1:9004/tmp/multisiteb/data/disterasure/xl{5...8}" >/tmp/siteb_2.log 2>&1 &
    
    sleep 20s
    
    export MC_HOST_sitea=http://minioadmin:minioadmin@127.0.0.1:9001
    export MC_HOST_siteb=http://minioadmin:minioadmin@127.0.0.1:9004
    
    ./mc admin replicate add sitea siteb
    
    ./mc admin user add sitea foobar foo12345
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 16 09:28:06 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. internal/logger/reqinfo.go

    }
    
    // ReqInfo stores the request info.
    // Reading/writing directly to struct requires appropriate R/W lock.
    type ReqInfo struct {
    	RemoteHost   string           // Client Host/IP
    	Host         string           // Node Host/IP
    	UserAgent    string           // User Agent
    	DeploymentID string           // x-minio-deployment-id
    	RequestID    string           // x-amz-request-id
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top