pipebert: fix websites

This commit is contained in:
Sandro - 2023-05-15 00:00:13 +02:00
parent cf47bf50f7
commit 38d9b8f827
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 31 additions and 24 deletions

View File

@ -97,33 +97,40 @@
forceSSL = true; forceSSL = true;
locations."/".return = "307 https://drkkr.hq.c3d2.de/"; locations."/".return = "307 https://drkkr.hq.c3d2.de/";
}; };
"ledfx.hq.c3d2.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8888/";
proxyWebsockets = true;
};
};
"mopidy.hq.c3d2.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:6680";
proxyWebsockets = true;
};
};
"pipebert.hq.c3d2.de" = { "pipebert.hq.c3d2.de" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations = { locations."/" = {
"/" = { extraConfig = ''
extraConfig = '' add_header Content-Type text/html;
add_header Content-Type text/html; '';
''; return = ''200 '<!DOCTYPE html>
return = ''200 '<!DOCTYPE html> <html>
<html> <body>
<body> <ul>
<ul> <li><a href="https://drkkr.hq.c3d2.de/">Drucker</li></a>
<li><a href="/ledfx">LEDfx</li></a> <li><a href="https://ledfx.hq.c3d2.de/">LEDfx</li></a>
<li><a href="/mopidy/muse">Mopidy</li></a> <li><a href="https://mopidy.hq.c3d2.de/muse/">Mopidy</li></a>
<li><a href="/mopidy/youtube">Mopidy - Add YouTube link</li></a> <li><a href="https://mopidy.hq.c3d2.de/youtube/">Mopidy - Add YouTube link</li></a>
</ul> </ul>
</body> </body>
</html>' ''; </html>' '';
};
"/mopidy/" = {
proxyPass = "http://127.0.0.1:6680";
proxyWebsockets = true;
};
"/ledfx/" = {
proxyPass = "http://127.0.0.1:8888";
proxyWebsockets = true;
};
}; };
}; };
}; };