Hi Nix-ers, I’ve encounter an issue I do not know if it’s just technical debt on my side or effectively a bug:
-
I’m using TT-RSS
-
I’ve added, to try it, Grocy
Both are locally served web-apps (PHP + webserver, plus postgres for TT-RSS, and SQLite for Grocy). If both are enabled both do not works. Maybe relevant configs excerpts:
tt-rss = {
enable = true;
database = {
type = "pgsql";
#...
}; # database
email = {
#...
}; # email
virtualHost = "news.local";
selfUrlPath = "http://192.168.100.1"; # local wireguard, if relevant
}; # tt-rss
postgresql = {
#...
}; # postgresql
nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
}; # nginx
and
grocy = {
enable = true;
hostName = "grocy.local";
nginx.enableSSL = false;
dataDir = "/var/lib/grocy";
settings = {
#...
}; # settings
}; # grocy
I suppose both try to spawn an nginx instance to listen on port 80 but both do not have an option to specify a custom port/a virtual host.
How can I proceed in general, I mean when some derivation of some web-apps run a webserver and have no way to specify it’s basic (or less basic) config on the same host/no virtualhost configs etc?
I fail to find useful docs on that subject unfortunately…
Thanks