mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-30 08:27:38 +00:00
Fixed problem with proxy support and added unit tests
This commit is contained in:
parent
a444b612af
commit
38adeaf02c
11 changed files with 438 additions and 28 deletions
13
test/test_proxy_docker/Dockerfile
Normal file
13
test/test_proxy_docker/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM centos
|
||||
LABEL maintainer="yuji.hirose.bug@gmail.com"
|
||||
ARG auth="basic"
|
||||
ARG port="3128"
|
||||
|
||||
RUN yum install -y squid
|
||||
|
||||
COPY ./${auth}_squid.conf /etc/squid/squid.conf
|
||||
COPY ./${auth}_passwd /etc/squid/passwd
|
||||
|
||||
EXPOSE ${port}
|
||||
|
||||
CMD ["/usr/sbin/squid", "-N"]
|
Loading…
Add table
Add a link
Reference in a new issue