1
0
Fork 0
This commit is contained in:
Daniel Kempkens 2023-04-09 02:11:14 +02:00
parent fbbed3f77a
commit ebd3ef29e8
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 7 additions and 2 deletions

Binary file not shown.

View file

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