1
0
Fork 0
This commit is contained in:
Daniel Kempkens 2023-04-09 01:32:04 +02:00
parent b12a6473c1
commit 89e317cad1
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -4,13 +4,9 @@
services.nginx.streamConfig = ''
resolver 1.1.1.1 ipv6=off;
upstream home {
server ${secret.nginx.upstream.home.hostname}:${builtins.toString(secret.nginx.upstream.home.port)};
}
server {
listen ${builtins.toString(secret.nginx.upstream.home.port)} proxy_protocol;
proxy_pass home;
proxy_pass ${secret.nginx.upstream.home.hostname}:${builtins.toString(secret.nginx.upstream.home.port)};
}
'';