From 3a74002a04713fb2b07c1c8b5ce70a69a2c2ecb1 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 2 Jun 2020 22:57:47 +0200 Subject: [PATCH] Add temporary pleroma redirection with SRV --- dns.yml | 8 +++----- frontend.yml | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dns.yml b/dns.yml index a53f418..9e903aa 100644 --- a/dns.yml +++ b/dns.yml @@ -42,6 +42,8 @@ - { service: "seedown", port: "{{ global.seedbox.darkhttpd.port }}", group: "seedbox" } - { service: "transmission", port: "{{ global.seedbox.transmission.port }}", group: "seedbox" } - { service: "grafana", port: "{{ global.monitoring.grafana.port }}", group: "monitoring" } + fixed_SRV: + - { service: "pleroma", port: "4000", host: "nbg1.redxen.eu" } A: # Wish these would support SRV, would ease a lot of configuration management - { service: "postgres", group: "backend" } - { service: "redis", group: "backend" } @@ -61,23 +63,18 @@ - { name: "edzxe6qpinwhafgwlt6b44yarhhfn3xl._domainkey.", pointer: "edzxe6qpinwhafgwlt6b44yarhhfn3xl.dkim.amazonses.com" } A: - { name: "", addr: "88.198.95.52" } - - { name: "social.", addr: "88.198.95.52" } - { name: "nbg0.", addr: "88.198.95.52" } - { name: "", addr: "88.198.95.107" } - - { name: "social.", addr: "88.198.95.107" } - { name: "nbg1.", addr: "88.198.95.107" } - { name: "", addr: "88.198.95.106" } - - { name: "social.", addr: "88.198.95.106" } - { name: "nbg2.", addr: "88.198.95.106" } - { name: "", addr: "88.198.95.100" } - - { name: "social.", addr: "88.198.95.100" } - { name: "nbg3.", addr: "88.198.95.100" } - { name: "", addr: "88.198.95.63" } - - { name: "social.", addr: "88.198.95.63" } - { name: "nbg4.", addr: "88.198.95.63" } group: A: @@ -85,6 +82,7 @@ - { domain: "git", group: "frontend" } - { domain: "seed", group: "frontend" } - { domain: "sd", group: "frontend" } + - { domain: "social", group: "frontend" } roles: - file - apt diff --git a/frontend.yml b/frontend.yml index 1d0e5eb..33dcf49 100644 --- a/frontend.yml +++ b/frontend.yml @@ -39,6 +39,7 @@ public: # These are load balanced, it doesn't matter what IP they point to - {domain: "stats", count: 5, service: "grafana", httpchk: true} + - {domain: "social", count: 1, service: "pleroma", httpchk: true} - {domain: "git", count: 1, service: "gitea", httpchk: true} - {domain: "seed", count: 1, service: "transmission", httpchk: false} - {domain: "sd", count: 1, service: "seedown", httpchk: true}