2022-07-25 19:34:00 +02:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts = {
|
2022-08-14 12:25:13 +02:00
|
|
|
"www.bula22.de" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
locations."/" = {
|
|
|
|
return = "301 https://bula22.de$request_uri";
|
|
|
|
};
|
|
|
|
};
|
2022-07-25 19:34:00 +02:00
|
|
|
"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
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|