fix: escaped triple quotes in oidc-rewrite-proxy.py tangle block

This commit is contained in:
Hermes
2026-06-06 19:16:42 +00:00
parent e62bd88527
commit 3cd699d312

View File

@@ -1281,11 +1281,11 @@ The proxy lives at =/docker/compose/oidc-rewrite-proxy.py= on production-1:
#+BEGIN_SRC python :tangle /docker/compose/oidc-rewrite-proxy.py #+BEGIN_SRC python :tangle /docker/compose/oidc-rewrite-proxy.py
#!/usr/bin/env python3 #!/usr/bin/env python3
\"\"\"Minimal OIDC discovery rewrite proxy for Gitea's openidConnect provider. """Minimal OIDC discovery rewrite proxy for Gitea's openidConnect provider.
Listens on 0.0.0.0:9122. Rewrites internal Authentik URLs to the public Listens on 0.0.0.0:9122. Rewrites internal Authentik URLs to the public
HTTPS URL so Gitea redirects browsers to auth.gharbeia.net. HTTPS URL so Gitea redirects browsers to auth.gharbeia.net.
\"\"\" """
import json import json
import sys import sys