2022-10-07 22:19:58 +02:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts = builtins.listToAttrs (map
|
|
|
|
(fqdn: lib.nameValuePair fqdn {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
|
|
|
|
locations."/".extraConfig = ''
|
|
|
|
proxy_pass http://fuuko.vpn.sbruder.de/;
|
|
|
|
proxy_set_header Host ${fqdn};
|
|
|
|
'';
|
|
|
|
})
|
|
|
|
[
|
2023-03-01 15:12:17 +01:00
|
|
|
"languagetool.sbruder.de"
|
2022-10-07 22:19:58 +02:00
|
|
|
"media.sbruder.de"
|
2023-08-19 17:30:52 +02:00
|
|
|
"photoprism.sbruder.de"
|
2022-10-07 22:19:58 +02:00
|
|
|
"torrent.sbruder.de"
|
|
|
|
]);
|
|
|
|
}
|