From e30f2d69ba89fa7ab05e20844c08757916ba7223 Mon Sep 17 00:00:00 2001
From: Klas Arvidsson <klas.arvidsson@liu.se>
Date: Tue, 26 Oct 2021 02:22:15 +0200
Subject: [PATCH] new squid rules for 732A80

---
 files/squid/helpers/rules.d/python.rules  | 9 +++++++++
 files/squid/helpers/rules.d/rstudio.rules | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/files/squid/helpers/rules.d/python.rules b/files/squid/helpers/rules.d/python.rules
index fe051f0..881339b 100644
--- a/files/squid/helpers/rules.d/python.rules
+++ b/files/squid/helpers/rules.d/python.rules
@@ -11,3 +11,12 @@
 ^https?://docs\.python\.org/3(\.[0-9]{1,2})?/.*          true
 ^https?://docs\.python\.org/3(\.[0-9]{1,2})?/reference/.*          true
 ^https?://docs\.python\.org/3(\.[0-9]{1,2})?/genindex(-[A-Za-z0-9_]+)?\.html        true
+
+// extra for 732A80 2021-10-26
+^https?://numpy\.org/doc/stable/reference/.* true
+^https?://numpy\.org/doc/stable/_static/.* true
+^https?://numpy\.org/doc/stable/search.* true
+^https?://numpy\.org/doc/_static/.* true
+^https?://fonts.gstatic.com/s/.* true
+^https?://www\.tensorflow\.org/api_docs/python/.* true
+^https?://www\.tensorflow\.org/images/.* true
diff --git a/files/squid/helpers/rules.d/rstudio.rules b/files/squid/helpers/rules.d/rstudio.rules
index b8808b6..5609ca8 100644
--- a/files/squid/helpers/rules.d/rstudio.rules
+++ b/files/squid/helpers/rules.d/rstudio.rules
@@ -7,6 +7,8 @@
 // ^https?://cran\.rstudio\.com/src/contrib/.*           true
 
 // 732G12
+^https?://repo\.anaconda\.com/.*  true
+^https?://conda\.anaconda\.com/.*  true
 ^https?://storage\.googleapis\.com/tensorflow/.*  true
 
 // 732A51
-- 
GitLab