Update proxies
This commit is contained in:
@@ -32,12 +32,18 @@ in {
|
|||||||
useHostResolvConf = lib.mkForce false;
|
useHostResolvConf = lib.mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
greg.proxies."${containerIp}" = {
|
greg.proxies = let
|
||||||
target = "http://unix:/run/gitlab/gitlab-workhorse.socket";
|
t = {
|
||||||
extraConfig = ''
|
target = "http://unix:/run/gitlab/gitlab-workhorse.socket";
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
extraConfig = ''
|
||||||
proxy_set_header X-Forwarded-Ssl on;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
'';
|
proxy_set_header X-Forwarded-Ssl on;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
"${containerIp}" = t;
|
||||||
|
"${vpnIp}" = t;
|
||||||
|
"git.thehellings.lan" = t;
|
||||||
};
|
};
|
||||||
greg.tailscale.enable = true;
|
greg.tailscale.enable = true;
|
||||||
|
|
||||||
@@ -68,7 +74,7 @@ in {
|
|||||||
port = 443;
|
port = 443;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
gitlab = {
|
gitlab = {
|
||||||
trustedProxies = [ "192.168.200.1/32" ];
|
trustedProxies = [ "100.109.86.8/32" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
initialRootEmail = "greg@thehellings.com";
|
initialRootEmail = "greg@thehellings.com";
|
||||||
|
|||||||
Reference in New Issue
Block a user