1
0
Fork 0

home-proxy: Update

This commit is contained in:
Daniel Kempkens 2023-04-09 12:16:33 +02:00
parent ebd3ef29e8
commit 6b8ebc265e
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

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