Update
This commit is contained in:
@@ -26,6 +26,6 @@
|
||||
sops = true;
|
||||
obsidian = false;
|
||||
|
||||
theme = import ../themes/catppuccin.nix; # select your theme here
|
||||
theme = import ../themes/windows.nix; # select your theme here
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,7 +3,14 @@
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"test.anotherhadi.com" = {
|
||||
locations."/" = { proxyPass = "http://192.168.2.22"; };
|
||||
locations."/" = {
|
||||
proxy_set_header = [
|
||||
"X-Real-IP $remote_addr"
|
||||
"proxy_set_header Host $host"
|
||||
"proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for"
|
||||
];
|
||||
proxyPass = "http://192.168.2.22:80";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user