Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 91 for Forwarded (0.05 seconds)

  1. docs/zh-hant/docs/deployment/https.md

    * [X-Forwarded-Host](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Host)
    
    ///
    
    然而,因為**應用伺服器**並不知道自己在受信任的**代理**之後,預設情況下它不會信任這些標頭。
    
    但你可以設定**應用伺服器**去信任由**代理**送來的「轉發」標頭。若你使用 FastAPI CLI,可以用 *CLI 參數* `--forwarded-allow-ips` 指定應信任哪些 IP 來的「轉發」標頭。
    
    例如,如果**應用伺服器**只會接收來自受信任**代理**的連線,你可以設定 `--forwarded-allow-ips="*"`,也就是信任所有來源 IP,因為實際上它只會收到**代理**那個 IP 送來的請求。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // 127.0.0.1 is configured as a trusted proxy by default
            final MockletHttpServletRequest request = getMockRequest();
            request.setRemoteAddr("127.0.0.1");
            request.addHeader("X-Forwarded-For", "203.0.113.50, 70.41.3.18, 150.172.238.178");
            assertEquals("203.0.113.50", rateLimitHelper.getClientIp(request));
        }
    
        @Test
        public void test_getClientIp_xRealIp_trustedProxy() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/HttpHeaders.java

       * X-Forwarded-Host}</a> header field name.
       *
       * @since 20.0
       */
      public static final String X_FORWARDED_HOST = "X-Forwarded-Host";
    
      /**
       * The HTTP <a
       * href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html#x-forwarded-port">{@code
       * X-Forwarded-Port}</a> header field name.
       *
       * @since 20.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 24 14:36:23 GMT 2026
    - 35.6K bytes
    - Click Count (0)
  4. docs/ja/docs/deployment/https.md

    * [X-Forwarded-Proto](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Proto)
    * [X-Forwarded-Host](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Host)
    
    ///
    
    それでも、**アプリケーションサーバー**は信頼できる**プロキシ**の背後にあることを知らないため、デフォルトではそれらのヘッダーを信頼しません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.1K bytes
    - Click Count (0)
  5. buildscripts/upgrade-tests/nginx.conf

             proxy_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;
    
                proxy_connect_timeout 300;
                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Nov 21 18:41:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ForwardingObject.java

     * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
     * preserve equality behavior, or override {@code equals} directly.
     *
     * <p>The {@code toString} method is forwarded to the delegate. Although this class does not
     * implement {@link Serializable}, a serializable subclass may be created since this class has a
     * parameter-less constructor.
     *
     * @author Mike Bostock
     * @since 2.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            if (isTrustedProxy(remoteAddr)) {
                final String xForwardedFor = request.getHeader("X-Forwarded-For");
                if (StringUtil.isNotBlank(xForwardedFor)) {
                    final String clientIp = xForwardedFor.split(",")[0].trim();
                    if (logger.isDebugEnabled()) {
                        logger.debug("Client IP from X-Forwarded-For: clientIp={}, remoteAddr={}", clientIp, remoteAddr);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ForwardingObject.java

     * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
     * preserve equality behavior, or override {@code equals} directly.
     *
     * <p>The {@code toString} method is forwarded to the delegate. Although this class does not
     * implement {@link Serializable}, a serializable subclass may be created since this class has a
     * parameter-less constructor.
     *
     * @author Mike Bostock
     * @since 2.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            UserInfoHelper userInfoHelper = new UserInfoHelper();
            userInfoHelper.setCookieSecure(null);
    
            MockletHttpServletRequest request = getMockRequest();
            request.addHeader("X-Forwarded-Proto", "https");
    
            assertTrue(userInfoHelper.isSecureCookie());
        }
    
        @Test
        public void test_isSecureCookie_noRequest() {
            UserInfoHelper userInfoHelper = new UserInfoHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. internal/cachevalue/cache.go

    		t.opts = opts
    	})
    }
    
    // GetWithCtx will return a cached value or fetch a new one.
    // passes a caller context, if caller context cancels nothing
    // is cached.
    // If the Update function returns an error the value is forwarded as is and not cached.
    func (t *Cache[T]) GetWithCtx(ctx context.Context) (T, error) {
    	v := t.val.Load()
    	ttl := t.ttl
    	vTime := t.lastUpdateMs.Load()
    	tNow := time.Now().UnixMilli()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top