Selaa lähdekoodia

🔧 Fix(docker/volumes/ssrf_proxy/squid.conf): The squid process on ssrf_proxy docker service crashes at startup (#5050)

tags/0.6.11
Takuya Ono 1 vuosi sitten
vanhempi
commit
f426e1b3bd
No account linked to committer's email address
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2
    3
      docker/volumes/ssrf_proxy/squid.conf

+ 2
- 3
docker/volumes/ssrf_proxy/squid.conf Näytä tiedosto

@@ -23,7 +23,7 @@ http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
http_access allow localnet
include /etc/squid/conf.d/*.conf
http_access deny all

################################## Proxy Server ################################
@@ -37,7 +37,6 @@ refresh_pattern \/Release(|\.gpg)$ 0 0% 0 refresh-ims
refresh_pattern \/InRelease$ 0 0% 0 refresh-ims
refresh_pattern \/(Translation-.*)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims
refresh_pattern . 0 20% 4320
logfile_rotate 0

# upstream proxy, set to your own upstream proxy IP to avoid SSRF attacks
# cache_peer 172.1.1.1 parent 3128 0 no-query no-digest no-netdb-exchange default
@@ -47,4 +46,4 @@ logfile_rotate 0
http_port 8194 accel vhost
cache_peer sandbox parent 8194 0 no-query originserver
acl src_all src all
http_access allow src_all
http_access allow src_all

Loading…
Peruuta
Tallenna