summaryrefslogtreecommitdiff
path: root/proxy/squid.conf
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/squid.conf')
-rw-r--r--proxy/squid.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/proxy/squid.conf b/proxy/squid.conf
new file mode 100644
index 0000000..29ebd05
--- /dev/null
+++ b/proxy/squid.conf
@@ -0,0 +1,21 @@
+https_port 8443 cert=/etc/squid/certs/server.crt key=/etc/squid/certs/server.key
+
+auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
+auth_param basic realm "Proxy"
+auth_param basic credentialsttl 2 hours
+
+acl authenticated proxy_auth REQUIRED
+http_access allow authenticated
+http_access deny all
+
+forwarded_for delete
+via off
+
+dns_nameservers 1.1.1.1 8.8.8.8
+
+cache_dir null /tmp
+cache deny all
+access_log stdio:/dev/stdout
+cache_log stdio:/dev/stderr
+cache_store_log none
+coredump_dir /tmp