Set up shiori as an alternative to Wallabag
This commit is contained in:
parent
4af46920cc
commit
00ac8e6bb2
|
@ -86,6 +86,11 @@
|
|||
forceSSL = true;
|
||||
locations."/" = { proxyPass = "http://localhost:8080/"; };
|
||||
};
|
||||
"shiori.coolneng.duckdns.org" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = { proxyPass = "http://localhost:8181/"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -100,6 +105,7 @@
|
|||
"sync.coolneng.duckdns.org"
|
||||
"git.coolneng.duckdns.org"
|
||||
"rss.coolneng.duckdns.org"
|
||||
"shiori.coolneng.duckdns.org"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -114,7 +120,7 @@
|
|||
# PostgreSQL databases configuration
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_11;
|
||||
package = pkgs.postgresql;
|
||||
ensureDatabases = [ "gitea" "wallabag" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
|
@ -156,11 +162,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Enable shiori service
|
||||
services.shiori = {
|
||||
enable = true;
|
||||
address = "localhost";
|
||||
port = 8181;
|
||||
};
|
||||
|
||||
# Restart reverse proxy after services startup
|
||||
systemd.services.nginx.after = [
|
||||
"gitea.service"
|
||||
"syncthing.service"
|
||||
"miniflux.service"
|
||||
"radicale.service"
|
||||
"shiori.service"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue