Ensure headscale sees the correct IP
All checks were successful
/ terraform (push) Successful in 49s
/ ansible (push) Successful in 1m48s

This commit is contained in:
Jake Howard 2024-02-29 17:41:29 +00:00
parent 998d798797
commit 8a1e21c79d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -13,6 +13,10 @@ server {
ssl_trusted_certificate /etc/letsencrypt/live/headscale.jakehoward.tech/chain.pem;
include includes/ssl.conf;
real_ip_header proxy_protocol;
set_real_ip_from 127.0.0.1;
location / {
proxy_pass http://localhost:8416;
}