From a86bcd1596ffa9bb5577806080ee8ad9f653908e Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Mon, 5 Jun 2023 17:06:49 +0800 Subject: [PATCH] Caddyify --- privfrontends/templates/Caddyfile.j2 | 4 ++++ privfrontends/templates/eu/darknet.Caddyfile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/privfrontends/templates/Caddyfile.j2 b/privfrontends/templates/Caddyfile.j2 index 79c7333..aa091c9 100644 --- a/privfrontends/templates/Caddyfile.j2 +++ b/privfrontends/templates/Caddyfile.j2 @@ -331,6 +331,10 @@ scribe.{{inventory_hostname}}.projectsegfau.lt scribe.projectsegfau.lt sc.psf.lt import i2ploc pjsflkkkcn33ahmzmpyq6idy2knkzh4atp7zaetqfsnenpyori6a.b32.i2p reverse_proxy :8006 } +translate.{{inventory_hostname}}.projectsegfau.lt translate.projectsegfau.lt tl.psf.lt tl.{{inventory_hostname}}.psf.lt { + import def + reverse_proxy :5046 +} {% if inventory_hostname == 'eu' %} {% else %} search.{{inventory_hostname}}.projectsegfau.lt s.psf.lt s.{{inventory_hostname}}.psf.lt { diff --git a/privfrontends/templates/eu/darknet.Caddyfile b/privfrontends/templates/eu/darknet.Caddyfile index 248e6d8..d8cb06f 100644 --- a/privfrontends/templates/eu/darknet.Caddyfile +++ b/privfrontends/templates/eu/darknet.Caddyfile @@ -11,6 +11,10 @@ http://scribe.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion htt import tor scribe import i2ploc pjsflkkkcn33ahmzmpyq6idy2knkzh4atp7zaetqfsnenpyori6a.b32.i2p } +http://translate.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion { + reverse_proxy localhost:5046 + import tor translate +} http://nitter.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion http://pjsfs4ukb6prmfx3qx3a5ef2cpcupkvcrxdh72kqn2rxc2cw4nka.b32.i2p { reverse_proxy localhost:8387 import tor nitter