1
0
Fork 0
nixfiles/hosts/web-2/bula22.nix

26 lines
510 B
Nix
Raw Normal View History

2022-07-25 19:34:00 +02:00
{ ... }:
{
services.nginx.virtualHosts = {
"bula22.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
2022-07-25 20:25:50 +02:00
return = ''200 '
<html>
<head>
<title>VCP Bundeslager 2022</title>
</head>
<body>
<img src="https://p619357.mittwaldserver.info/webcam/current.jpg">
</body>
</html>'
'';
2022-07-25 19:34:00 +02:00
extraConfig = ''
2022-07-25 20:25:50 +02:00
add_header Content-Type text/html;
2022-07-25 19:34:00 +02:00
'';
};
};
};
}