1
0
Fork 0
This commit is contained in:
Daniel Kempkens 2023-04-09 00:40:08 +02:00
parent 3f717f4b28
commit 6178c71493
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

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