mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
services.tt-rss: do not unnecessarily start nginx
This commit is contained in:
parent
e0c9a25588
commit
d91caac6c3
@ -466,10 +466,10 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
# NOTE: No configuration is done if not using virtual host
|
||||
services.nginx = mkIf (cfg.virtualHost != null) {
|
||||
enable = true;
|
||||
# NOTE: No configuration is done if not using virtual host
|
||||
virtualHosts = mkIf (cfg.virtualHost != null) {
|
||||
virtualHosts = {
|
||||
"${cfg.virtualHost}" = {
|
||||
root = "${cfg.root}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user