Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/tests/visual.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const playwright = require('playwright');
})();`)
})
await Promise.all([
page.getByText("Status: 500").waitFor(),
page.getByText("Status: 403").waitFor(),
page.getByRole('button', { name: 'Run'}).click(),
])
})
Expand Down
6 changes: 3 additions & 3 deletions squid/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM alpine:3.16
FROM alpine:3.23

EXPOSE 3128

ADD ./squid/squid.conf /etc/squid/squid.con
ADD ./squid/squid.conf /etc/squid/squid.conf

RUN apk add squid=5.5-r1
RUN apk add squid=7.3-r0

ENTRYPOINT ["squid", "-f", "/etc/squid/squid.conf", "-NYCd", "1"]
6 changes: 6 additions & 0 deletions squid/squid.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ http_access deny to_localhost
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#

# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy
http_access deny all

Expand Down
Loading