File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ ENV DO_DEBUG_BUILD="$DEBUG_BUILD"
1919# Build mitmproxy via pip. This is heavy, takes minutes do build and creates a 90mb+ layer. Oh well.
2020RUN [[ "a$DO_DEBUG_BUILD" == "a1" ]] && { echo "Debug build ENABLED." \
2121 && apk add --no-cache --update su-exec git g++ libffi libffi-dev libstdc++ openssl-dev python3 python3-dev py3-pip py3-wheel py3-six py3-idna py3-certifi py3-setuptools \
22- && LDFLAGS=-L/lib pip install mitmproxy==5.2 \
22+ && LDFLAGS=-L/lib pip install MarkupSafe==2.0.1 mitmproxy==5.2 \
2323 && apk del --purge git g++ libffi-dev openssl-dev python3-dev py3-pip py3-wheel \
2424 && rm -rf ~/.cache/pip \
2525 ; } || { echo "Debug build disabled." ; }
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ http {
142142 set $docker_proxy_request_type "unknown-connect" ;
143143
144144 proxy_connect;
145+ proxy_connect_allow all;
145146 proxy_connect_address $interceptedHost ;
146147 proxy_max_temp_file_size 0;
147148 proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
You can’t perform that action at this time.
0 commit comments