pipebert: fix websites
This commit is contained in:
parent
cf47bf50f7
commit
38d9b8f827
|
@ -97,33 +97,40 @@
|
|||
forceSSL = true;
|
||||
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" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
extraConfig = ''
|
||||
add_header Content-Type text/html;
|
||||
'';
|
||||
return = ''200 '<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<ul>
|
||||
<li><a href="/ledfx">LEDfx</li></a>
|
||||
<li><a href="/mopidy/muse">Mopidy</li></a>
|
||||
<li><a href="/mopidy/youtube">Mopidy - Add YouTube link</li></a>
|
||||
</ul>
|
||||
</body>
|
||||
</html>' '';
|
||||
};
|
||||
"/mopidy/" = {
|
||||
proxyPass = "http://127.0.0.1:6680";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
"/ledfx/" = {
|
||||
proxyPass = "http://127.0.0.1:8888";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
add_header Content-Type text/html;
|
||||
'';
|
||||
return = ''200 '<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<ul>
|
||||
<li><a href="https://drkkr.hq.c3d2.de/">Drucker</li></a>
|
||||
<li><a href="https://ledfx.hq.c3d2.de/">LEDfx</li></a>
|
||||
<li><a href="https://mopidy.hq.c3d2.de/muse/">Mopidy</li></a>
|
||||
<li><a href="https://mopidy.hq.c3d2.de/youtube/">Mopidy - Add YouTube link</li></a>
|
||||
</ul>
|
||||
</body>
|
||||
</html>' '';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue