commit b236291b50dee9927d7d39883daf2986b9fb99e0
parent 6f538355c67679ba3cc9f7851317e946f47b3edd
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 15 Apr 2022 12:27:29 +0200
users/vincent: add kerkouane.vpn ip alias
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/systems/hosts/kerkouane.nix b/systems/hosts/kerkouane.nix
@@ -182,9 +182,11 @@ in
enableACME = true;
forceSSL = true;
locations."/" = {
- proxy_set_header = "Host $host";
- proxy_set_header = "X-Forwarded-For $remote_addr";
proxyPass = "http://10.100.0.8:80";
+ extraConfig = ''
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-For $remote_addr;
+ '';
};
};
virtualHosts."sbr.pm" = {
diff --git a/users/vincent/core/ssh.nix b/users/vincent/core/ssh.nix
@@ -105,7 +105,7 @@ in
wakasu.home,wakasu.vpn,10.100.0.8,192.168.1.77 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ2GB030S1+iZMqwgYhkl5CuBOKBjZoujc0aVHII39/x
aomi.home,aomi.vpn,10.100.0.17,192.168.1.23 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFQVlSrUKU0xlM9E+sJ8qgdgqCW6ePctEBD2Yf+OnyME
sakhalin.home,sakhalin.vpn,10.100.0.16,192.168.1.70 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN/PMBThi4DhgZR8VywbRDzzMVh2Qp3T6NJAcPubfXz6
- kerkouane.vpn ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJguVoQYObRLyNxELFc3ai2yDJ25+naiM3tKrBGuxwwA
+ kerkouane.vpn,10.100.0.1 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJguVoQYObRLyNxELFc3ai2yDJ25+naiM3tKrBGuxwwA
synodine.home,192.168.1.20 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDWdnPJg0Y4kd4lHPAGE4xgMAK2qvMg3oBxh0t+xO+7O
'';
xdg.configFile."ssh/ssh_known_hosts.redhat".text = ''