move nitter to EU-only

This commit is contained in:
Arya 2024-11-03 17:45:14 +05:30
parent a0708d75f9
commit 2fc77684e5
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -102,7 +102,9 @@ lbry.{{ server_prefix }}.projectsegfau.lt lbry.projectsegfau.lt {
import def import def
import torloc lbry import torloc lbry
} }
nitter.{{ server_prefix }}.projectsegfau.lt nitter.projectsegfau.lt n.psf.lt n.{{ server_prefix }}.psf.lt { # We need this inventory_hostname block since nitter is only going to be on EU from now on
{% if inventory_hostname == 'eu' %}
nitter.eu.projectsegfau.lt nitter.us.projectsegfau.lt nitter.in.projectsegfau.lt nitter.projectsegfau.lt n.psf.lt n.eu.psf.lt n.us.psf.lt n.in.psf.lt {
import def import def
import torloc nitter import torloc nitter
reverse_proxy :8387 reverse_proxy :8387
@ -112,6 +114,7 @@ nitter.{{ server_prefix }}.projectsegfau.lt nitter.projectsegfau.lt n.psf.lt n.{
{% endfor %} {% endfor %}
} }
} }
{% endif %}
libreddit.{{ server_prefix }}.projectsegfau.lt libreddit.projectsegfau.lt lr.psf.lt lr.{{ server_prefix }}.psf.lt { libreddit.{{ server_prefix }}.projectsegfau.lt libreddit.projectsegfau.lt lr.psf.lt lr.{{ server_prefix }}.psf.lt {
reverse_proxy :6464 reverse_proxy :6464
import def import def