flora-6: Serve pub.solar website

Originally authored by @axeman
This commit is contained in:
Benjamin Bädorf 2023-01-07 21:26:14 +01:00
parent 8453b8c584
commit f12f42827f
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -10,6 +10,15 @@
email = "admins@pub.solar";
globalConfig = lib.mkForce "";
virtualHosts = {
"pub.solar" = {
logFormat = lib.mkForce ''
output discard
'';
extraConfig = ''
root * /srv/www/pub.solar/
file_serve
'';
};
"auth.pub.solar" = {
logFormat = lib.mkForce ''
output discard
@ -36,6 +45,7 @@
reverse_proxy obs-portal.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.int.greenbaum.zone:3000
'';
};
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];