[nginx] proxy forward host

This commit is contained in:
2025-01-21 21:25:42 +01:00
parent 0ed00541ff
commit 2fc4da9244
3 changed files with 5 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ in
locations."/" = {
proxyPass = "http://10.0.0.10";
extraConfig = ''
proxy_set_header Host $host;
'';
};
};
@@ -49,6 +50,7 @@ in
locations."/" = {
proxyPass = "http://10.0.0.12";
extraConfig = ''
proxy_set_header Host $host;
'';
};
};

View File

@@ -67,6 +67,7 @@ in
locations."/" = {
proxyPass = "http://10.0.0.11:9000";
extraConfig = ''
proxy_set_header Host $host;
'';
};
};
@@ -75,6 +76,7 @@ in
locations."/" = {
proxyPass = "http://10.0.0.13";
extraConfig = ''
proxy_set_header Host $host;
'';
};
};

View File

@@ -34,6 +34,7 @@ with lib;
locations."/" = {
proxyPass = "http://10.100.0.101";
extraConfig = ''
proxy_set_header Host $host;
'';
};