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, ... }: { config, pkgs, ... }:
{ {
services.nginx = { services.nginx.virtualHosts."git.stubbe.rocks" = {
virtualHosts."git.stubbe.rocks" = { enableACME = true;
enableACME = true; forceSSL = true;
forceSSL = true; locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket";
locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket"; };
};
};
services.gitlab = { services.gitlab = {
enable = true; enable = true;
host = "git.stubbe.rocks"; host = "git.stubbe.rocks";