reformt gitlab vrthost
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user