mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +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;
|
enable = true;
|
||||||
# NOTE: No configuration is done if not using virtual host
|
virtualHosts = {
|
||||||
virtualHosts = mkIf (cfg.virtualHost != null) {
|
|
||||||
"${cfg.virtualHost}" = {
|
"${cfg.virtualHost}" = {
|
||||||
root = "${cfg.root}";
|
root = "${cfg.root}";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user