reformt gitlab vrthost

This commit is contained in:
stubbfel
2017-11-21 21:43:05 +01:00
parent deeb1040d6
commit 9b10314f56

View File

@@ -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";