magpie/miniflux: export url, add https cert
This commit is contained in:
parent
b467130209
commit
9e90599099
@ -76,8 +76,15 @@
|
|||||||
services.openssh.settings.PermitRootLogin = "prohibit-password";
|
services.openssh.settings.PermitRootLogin = "prohibit-password";
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.opendkim.enable = true;
|
services.opendkim.enable = true;
|
||||||
services.miniflux.enable = true;
|
|
||||||
services.miniflux.adminCredentialsFile = config.sops.secrets."miniflux/admin_pass".path;
|
services.miniflux = {
|
||||||
|
enable = true;
|
||||||
|
adminCredentialsFile = config.sops.secrets."miniflux_env".path;
|
||||||
|
config = {
|
||||||
|
LISTEN_ADDR = "localhost:5001";
|
||||||
|
BASE_URL = "https://miniflux.project-cloud.net";
|
||||||
|
};
|
||||||
|
};
|
||||||
services.restya-board = {
|
services.restya-board = {
|
||||||
enable = true;
|
enable = true;
|
||||||
/*virtualHost.serverName = "board.project-cloud.net";*/
|
/*virtualHost.serverName = "board.project-cloud.net";*/
|
||||||
@ -119,6 +126,15 @@
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualHosts."miniflux.project-cloud.net" = {
|
||||||
|
quic = true;
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:5001";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualHosts.${config.services.gitea.settings.server.DOMAIN} = {
|
virtualHosts.${config.services.gitea.settings.server.DOMAIN} = {
|
||||||
quic = true;
|
quic = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
@ -188,9 +204,8 @@
|
|||||||
owner = config.users.users.gitea.name;
|
owner = config.users.users.gitea.name;
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets."miniflux/admin_pass" = {
|
sops.secrets."miniflux_env" = {
|
||||||
sopsFile = ./secrets/miniflux.yaml;
|
sopsFile = ./secrets/miniflux.yaml;
|
||||||
owner = "miniflux";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "magpie";
|
networking.hostName = "magpie";
|
||||||
|
Loading…
Reference in New Issue
Block a user