feat: add automation scripts for inspecting proxy providers and updating Nginx configurations

This commit is contained in:
2026-11-07 15:41:04 -05:00
parent e0ebc120ee
commit bbcf656a3d
4 changed files with 4 additions and 0 deletions

View File

@@ -9,3 +9,4 @@ stdin, stdout, stderr = client.exec_command(cmd)
print("49.conf (ai.snarfnet.net):\n", stdout.read().decode())
client.close()

View File

@@ -16,3 +16,4 @@ req = urllib.request.Request("https://authentik.snarfnet.net/api/v3/providers/pr
with urllib.request.urlopen(req, context=ctx) as resp:
p = json.loads(resp.read().decode())
print(json.dumps(p, indent=2))

View File

@@ -16,3 +16,4 @@ req = urllib.request.Request("https://authentik.snarfnet.net/api/v3/providers/pr
with urllib.request.urlopen(req, context=ctx) as resp:
p = json.loads(resp.read().decode())
print(json.dumps(p, indent=2))

View File

@@ -79,3 +79,4 @@ stdin, stdout, stderr = client.exec_command(cmd)
print("Updated 56.conf to direct proxy and reloaded")
client.close()