4 inherit (config.services) nginx;
9 virtualHosts."${srv}.${domain}" = {
15 error_log /var/log/nginx/${domain}/${srv}/error.log warn;
17 default_type text/plain;
19 locations."/addr".return = "200 $remote_addr\\n";
22 systemd.services.nginx.serviceConfig.LogsDirectory = lib.mkForce [ "nginx/${domain}/${srv}" ];