Move rss-bridge to ttrss
This commit is contained in:
parent
ceafe2a336
commit
549ee33a45
|
@ -15,7 +15,6 @@
|
|||
"${custom.inputs.self}/modules/grav"
|
||||
"${custom.inputs.self}/modules/haproxy"
|
||||
"${custom.inputs.self}/modules/heimdall"
|
||||
"${custom.inputs.self}/modules/rss-bridge"
|
||||
];
|
||||
|
||||
services.nginx = {
|
||||
|
@ -59,25 +58,11 @@
|
|||
};
|
||||
};
|
||||
"heimdall.2li.ch" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
listen = [{
|
||||
port = 4433;
|
||||
addr = "
|
||||
127.0.0.1";
|
||||
ssl = true;
|
||||
}];
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8081";
|
||||
proxyWebsockets = true; # needed if you need to use WebSocket
|
||||
};
|
||||
};
|
||||
"rss-bridge.2li.ch" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
listen = [{ port = 4433; addr = "127.0.0.1"; ssl = true; }];
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8082";
|
||||
proxyPass = "http://127.0.0.1:8081";
|
||||
proxyWebsockets = true; # needed if you need to use WebSocket
|
||||
};
|
||||
};
|
||||
|
|
|
@ -8,8 +8,22 @@ in
|
|||
ip = "10.7.89.115";
|
||||
inherit custom hostname;
|
||||
})
|
||||
(import "${custom.inputs.self}/modules/nginx-proxy" { inherit custom domain; })
|
||||
(import "${custom.inputs.self}/modules/ttrss-postgres" { inherit custom domain; })
|
||||
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
|
||||
(import "${custom.inputs.self}/modules/nginx-proxy" { inherit custom domain; })
|
||||
"${custom.inputs.self}/modules/rss-bridge"
|
||||
(import "${custom.inputs.self}/modules/ttrss-postgres" { inherit custom domain; })
|
||||
];
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"rss-bridge.2li.ch" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
listen = [{ port = 4433; addr = "127.0.0.1"; ssl = true; }];
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8082";
|
||||
proxyWebsockets = true; # needed if you need to use WebSocket
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue