From 9b10314f56c79f7cf53e523d1f1a693860f7e394 Mon Sep 17 00:00:00 2001 From: stubbfel Date: Tue, 21 Nov 2017 21:43:05 +0100 Subject: [PATCH] reformt gitlab vrthost --- services/gitlab.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/services/gitlab.nix b/services/gitlab.nix index 1fe7ae7..d92dbe9 100644 --- a/services/gitlab.nix +++ b/services/gitlab.nix @@ -1,14 +1,12 @@ { config, pkgs, ... }: { - services.nginx = { - virtualHosts."git.stubbe.rocks" = { - enableACME = true; - forceSSL = true; - locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket"; - }; + services.nginx.virtualHosts."git.stubbe.rocks" = { + enableACME = true; + forceSSL = true; + locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket"; + }; - }; services.gitlab = { enable = true; host = "git.stubbe.rocks";