waitress Documentation v2.1.1https://github.com/Pylons/waitress/pull/249 1.2.1 (2019-01-25) Bugfixes When given an IPv6 address in X-Forwarded-For or Forwarded for= waitress was placing the IP address in REMOTE_ADDR with brackets: [2001:db8::0] waitress-serve \ --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x- forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.0https://github.com/Pylons/waitress/pull/249 1.2.1 (2019-01-25) Bugfixes When given an IPv6 address in X-Forwarded-For or Forwarded for= waitress was placing the IP address in REMOTE_ADDR with brackets: [2001:db8::0] waitress-serve \ --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x- forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header0 码力 | 52 页 | 57.95 KB | 1 年前3
waitress Documentation v3.0.1
https://github.com/Pylons/waitress/pull/249 1.2.1 (2019-01-25) Bugfixes When given an IPv6 address in X-Forwarded-For or Forwarded for= waitress was placing the IP address in REMOTE_ADDR with brackets: [2001:db8::0] waitress-serve \ --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x- forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header0 码力 | 55 页 | 56.36 KB | 1 年前3
waitress Documentation v1.4.0https://github.com/Pylons/waitress/pull/249 1.2.1 (2019-01-25) Bugfixes When given an IPv6 address in X-Forwarded-For or Forwarded for= waitress was placing the IP address in REMOTE_ADDR with brackets: [2001:db8::0] environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Port $server_port; when using Apache, mod_proxy automatically forwards the following headers: X-Forwarded-For X-Forwarded-Host X-Forwarded-Server You will also want to add to Apache: RequestHeader set0 码力 | 48 页 | 54.34 KB | 1 年前3
waitress Documentation v1.1.0when using Nginx: proxy_set_header X-Forwarded-Proto $scheme; It’s permitted to set an X-Forwarded-For header too; the PrefixMiddleware uses this to adjust other environment variables (you’ll have its docs to find out which ones, I don’t know what they are). For the X-Forwarded-For header: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; Note that you can wrap your application0 码力 | 36 页 | 41.63 KB | 1 年前3
Spring Boot 1.1.9.RELEASE Reference Guideconfigure Tomcat’s RemoteIpValve if you enable it. This allows you to transparently use the standard x-forwarded-for and x- forwarded-proto headers that most front-end proxy servers add. The valve is switched on and if you only set one the other will be set automatically): server.tomcat.remote_ip_header=x-forwarded-for server.tomcat.protocol_header=x-forwarded-protocol If your proxy uses different headers you The standard behavior is determined by the presence or absence of certain request headers (x-forwarded-for and x-forwarded-proto), whose names are conventional, so it should work with most front end proxies0 码力 | 326 页 | 305.24 KB | 1 年前3
Spring Boot 1.2.0.RELEASE Reference Documentationconfigure Tomcat’s RemoteIpValve if you enable it. This allows you to transparently use the standard x-forwarded-for and x- forwarded-proto headers that most front-end proxy servers add. The valve is switched on and if you only set one the other will be set automatically): server.tomcat.remote_ip_header=x-forwarded-for server.tomcat.protocol_header=x-forwarded-proto If your proxy uses different headers you can The standard behavior is determined by the presence or absence of certain request headers (x-forwarded-for and x-forwarded-proto), whose names are conventional, so it should work with most front end proxies0 码力 | 373 页 | 345.05 KB | 1 年前3
Spring Boot 1.0.3.BUILD-SNAPSHOT Reference Documentationvalve by adding some entries to application.properties, e.g. server.tomcat.remote_ip_header=x-forwarded-for server.tomcat.protocol_header=x-forwarded-proto Alternatively, you can add the RemoteIpValve The standard behavior is determined by the presence or absence of certain request headers (x-forwarded-for and x-forwarded-proto), whose names are conventional, so it should work with most front end proxies valve by adding some entries to application.properties, e.g. server.tomcat.remote_ip_header=x-forwarded-for server.tomcat.protocol_header=x-forwarded-proto (The presence of either of those properties0 码力 | 268 页 | 262.21 KB | 1 年前3
Spring Boot 1.2.9.BUILD-SNAPSHOT Reference Documentationconfigure Tomcat’s RemoteIpValve if you enable it. This allows you to transparently use the standard x-forwarded-for and x- forwarded-proto headers that most front-end proxy servers add. The valve is switched on and if you only set one the other will be set automatically): server.tomcat.remote_ip_header=x-forwarded-for server.tomcat.protocol_header=x-forwarded-proto If your proxy uses different headers you can The standard behavior is determined by the presence or absence of certain request headers (x-forwarded-for and x-forwarded-proto), whose names are conventional, so it should work with most front end proxies0 码力 | 393 页 | 360.45 KB | 1 年前3
Spring Boot 1.2.3.RELEASE Reference Documentationconfigure Tomcat’s RemoteIpValve if you enable it. This allows you to transparently use the standard x-forwarded-for and x- forwarded-proto headers that most front-end proxy servers add. The valve is switched on and if you only set one the other will be set automatically): server.tomcat.remote_ip_header=x-forwarded-for server.tomcat.protocol_header=x-forwarded-proto If your proxy uses different headers you can The standard behavior is determined by the presence or absence of certain request headers (x-forwarded-for and x-forwarded-proto), whose names are conventional, so it should work with most front end proxies0 码力 | 390 页 | 358.87 KB | 1 年前3
共 290 条
- 1
- 2
- 3
- 4
- 5
- 6
- 29













