fixup
This commit is contained in:
parent
fbbed3f77a
commit
ebd3ef29e8
2 changed files with 7 additions and 2 deletions
Binary file not shown.
|
@ -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;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue