Consolidate server blocks

This commit is contained in:
Jake Howard 2021-08-24 14:31:12 +01:00
parent 453a374801
commit 95216b32c4
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -47,13 +47,8 @@ stream {
server { server {
listen 443; listen 443;
proxy_pass {{ wireguard.clients.ingress.ip }}:8443;
proxy_protocol on;
}
server {
listen 8448; listen 8448;
proxy_protocol on;
proxy_pass {{ wireguard.clients.ingress.ip }}:8443; proxy_pass {{ wireguard.clients.ingress.ip }}:8443;
proxy_protocol on;
} }
} }