Try reverse proxy for IP
This commit is contained in:
parent
8b2f3113d2
commit
68b3624329
1 changed files with 14 additions and 0 deletions
|
@ -25,6 +25,11 @@ in
|
||||||
|
|
||||||
services.openssh.settings.AllowUsers = [ "pipeline" "david" ];
|
services.openssh.settings.AllowUsers = [ "pipeline" "david" ];
|
||||||
|
|
||||||
|
security.acme = {
|
||||||
|
defaults.email = "michael.huebner@ptspaper.de";
|
||||||
|
acceptTerms = true;
|
||||||
|
};
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
# connection only via ssh key
|
# connection only via ssh key
|
||||||
pipeline = {
|
pipeline = {
|
||||||
|
@ -67,5 +72,14 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nginx = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts."88.99.218.181" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://localhost:28080";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue