Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for Forwarded (0.07 seconds)

  1. docs/zh-hant/docs/advanced/behind-a-proxy.md

    * [X-Forwarded-Host](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Host)
    
    ///
    
    ### 啟用代理轉發標頭 { #enable-proxy-forwarded-headers }
    
    你可以在啟動 FastAPI CLI 時使用「CLI 選項」`--forwarded-allow-ips`,並傳入允許解析這些轉發標頭的受信任 IP 位址。
    
    如果將其設為 `--forwarded-allow-ips="*"`,就會信任所有進來的 IP。
    
    如果你的「伺服器」位於受信任的「代理」之後,且只有代理會與它通訊,這樣會讓它接受該「代理」的任何 IP。
    
    <div class="termy">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/behind-a-proxy.md

    프록시 헤더는 다음과 같습니다:
    
    * [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For)
    * [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)
    
    ///
    
    ### 프록시 전달 헤더 활성화하기 { #enable-proxy-forwarded-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/behind-a-proxy.md

    /// note | 技術詳細
    
    プロキシのヘッダーは次のとおりです:
    
    * [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For)
    * [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)
    
    ///
    
    ### プロキシ転送ヘッダーを有効化 { #enable-proxy-forwarded-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/behind-a-proxy.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)
    
    ///
    
    ### 启用代理转发的请求头 { #enable-proxy-forwarded-headers }
    
    你可以用 *CLI 选项* `--forwarded-allow-ips` 启动 FastAPI CLI,并传入应该被信任、允许读取这些转发请求头的 IP 地址列表。
    
    如果设置为 `--forwarded-allow-ips="*"`,就会信任所有来源 IP。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2") };
                }
            });
    
            MockletHttpServletRequest request = getMockRequest();
            HtmlNext page = new HtmlNext("/search");
    
            // No matching host header
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
       * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface.
       */
      static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
       * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface.
       */
      static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top