mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
adding httpsproxy image to CI, based on stunel
stunnel terminates ssl and relays to the squid-based httpproxy
This commit is contained in:
parent
e70e302ade
commit
2f507915e4
@ -5,7 +5,7 @@ services:
|
||||
- HTTPBIN_HOST=nghttp2
|
||||
- HTTPBIN_NO_PROXY_HOST=http://httpbin:8000
|
||||
- HTTPX_HTTP_PROXY=http://proxyuser:password@httpproxy:3128
|
||||
- HTTPX_HTTPS_PROXY=http://proxyuser:password@httpproxy:3128
|
||||
- HTTPX_HTTPS_PROXY=https://proxyuser:password@httpsproxy:9080
|
||||
- HTTPX_HTTP2_PROXY=http://proxyuser:password@http2proxy:80
|
||||
- HTTPX_SOCKS4_PROXY=socks4://user4:@socksproxy:8080
|
||||
- HTTPX_SOCKS4A_PROXY=socks4a://user4:@socksproxy:8080
|
||||
@ -26,10 +26,10 @@ services:
|
||||
- AMZ_HOST=aws:4566
|
||||
- WEBDAV_HOST=webdav
|
||||
- DD_INSTRUMENTATION_TELEMETRY_ENABLED=false
|
||||
- GRPC_VERBOSITY=ERROR
|
||||
image: ruby:alpine
|
||||
image: ruby:latest
|
||||
privileged: true
|
||||
depends_on:
|
||||
- httpsproxy
|
||||
- httpproxy
|
||||
- http2proxy
|
||||
- socksproxy
|
||||
@ -54,7 +54,6 @@ services:
|
||||
image: qautomatron/docker-3proxy
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "3129:3129"
|
||||
volumes:
|
||||
- ./test/support/ci:/etc/3proxy
|
||||
|
||||
@ -68,6 +67,16 @@ services:
|
||||
- ./test/support/ci/squid/proxy-users-digest.txt:/etc/squid/proxy-users-digest.txt
|
||||
command: -d 3
|
||||
|
||||
httpsproxy:
|
||||
image: easypi/stunnel
|
||||
depends_on:
|
||||
- httpproxy
|
||||
ports:
|
||||
- "9080:9080"
|
||||
volumes:
|
||||
- ./test/support/ci/stunnel.conf:/etc/stunnel/stunnel.conf
|
||||
- ./test/support/ci/certs:/etc/stunnel/ssl
|
||||
|
||||
http2proxy:
|
||||
image: registry.gitlab.com/os85/httpx/nghttp2:3
|
||||
ports:
|
||||
|
9
test/support/ci/stunnel.conf
Normal file
9
test/support/ci/stunnel.conf
Normal file
@ -0,0 +1,9 @@
|
||||
foreground = yes
|
||||
debug = debug
|
||||
|
||||
[squid]
|
||||
client = no
|
||||
accept = 9080
|
||||
connect = httpproxy:3128
|
||||
cert = /etc/stunnel/ssl/proxy.crt
|
||||
key = /etc/stunnel/ssl/proxy.key
|
Loading…
x
Reference in New Issue
Block a user