mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 10:48:56 +02:00
Update Traefik configuration for Wings service domain to use another one instead ("thanks" cloudflare) and add file service.
This commit is contained in:
parent
783f1a8c0a
commit
b397a85336
1 changed files with 17 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
choose = paths: builtins.head (builtins.filter (p: builtins.pathExists p) paths);
|
choose = paths: builtins.head (builtins.filter (p: builtins.pathExists p) paths);
|
||||||
# Domain and Cloudflare DDNS records configured here. Update this list to add/remove records.
|
# Domain and Cloudflare DDNS records configured here. Update this list to add/remove records.
|
||||||
domain = "prg-radio.org";
|
domain = "prg-radio.org";
|
||||||
records = ["git" "grafana" "anubis" "wavelog" "pelican" "partdb" "mail" "mailadmin" "@" "test" "minecraft" "wings1.pelican"];
|
records = ["git" "grafana" "anubis" "wavelog" "pelican" "partdb" "mail" "mailadmin" "@" "test" "minecraft" "wings1"];
|
||||||
recordsStr = lib.concatStringsSep " " records;
|
recordsStr = lib.concatStringsSep " " records;
|
||||||
zoneId = "9fde8d0fa53502f2d1b7e0b1d3765d49";
|
zoneId = "9fde8d0fa53502f2d1b7e0b1d3765d49";
|
||||||
envFile = "/home/traefikprg/cloudflare/cloudflare.env";
|
envFile = "/home/traefikprg/cloudflare/cloudflare.env";
|
||||||
|
|
@ -379,12 +379,19 @@ in {
|
||||||
|
|
||||||
# Wings panel - exposes the Wings
|
# Wings panel - exposes the Wings
|
||||||
wings = {
|
wings = {
|
||||||
rule = "Host(`wings1.pelican.prg-radio.org`)";
|
rule = "Host(`wings1.prg-radio.org`)";
|
||||||
service = "wings-pelican";
|
service = "wings-pelican";
|
||||||
entryPoints = ["websecure"];
|
entryPoints = ["websecure"];
|
||||||
tls = {certresolver = "acme";};
|
tls = {certresolver = "acme";};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wings-file = {
|
||||||
|
rule = "Host(`wings1.prg-radio.org`)";
|
||||||
|
service = "wings-pelican-file";
|
||||||
|
entryPoints = ["websecure"];
|
||||||
|
tls = {certresolver = "acme";};
|
||||||
|
};
|
||||||
|
|
||||||
# Matrix HTTP router for client requests (Element etc.)
|
# Matrix HTTP router for client requests (Element etc.)
|
||||||
matrix = {
|
matrix = {
|
||||||
rule = "Host(`lgbtq.prg-radio.org`)";
|
rule = "Host(`lgbtq.prg-radio.org`)";
|
||||||
|
|
@ -491,13 +498,20 @@ in {
|
||||||
passHostHeader = true;
|
passHostHeader = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
wings-pelican.loadBalancer = {
|
wings-pelican-file.loadBalancer = {
|
||||||
servers = [
|
servers = [
|
||||||
{url = "http://10.1.1.249:2022";}
|
{url = "http://10.1.1.249:2022";}
|
||||||
];
|
];
|
||||||
passHostHeader = true;
|
passHostHeader = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wings-pelican.loadBalancer = {
|
||||||
|
servers = [
|
||||||
|
{url = "http://10.1.1.249:8080";}
|
||||||
|
];
|
||||||
|
passHostHeader = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Mail JMAP HTTP backend
|
# Mail JMAP HTTP backend
|
||||||
mail-jmap.loadBalancer = {
|
mail-jmap.loadBalancer = {
|
||||||
servers = [{url = "http://10.1.1.15:8080";}];
|
servers = [{url = "http://10.1.1.15:8080";}];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue