fixup
This commit is contained in:
parent
b12a6473c1
commit
89e317cad1
1 changed files with 1 additions and 5 deletions
|
@ -4,13 +4,9 @@
|
||||||
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 ${builtins.toString(secret.nginx.upstream.home.port)} proxy_protocol;
|
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)};
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue