Set real IP from local proxy

This commit is contained in:
fi 2023-09-28 04:57:17 +02:00
parent c1e74a4494
commit e8427dc81d
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
7 changed files with 23 additions and 0 deletions

View file

@ -21,6 +21,9 @@
};
extraConfig = ''
add_header X-Content-Type-Options nosniff;
set_real_ip_from 127.0.0.1;
real_ip_header proxy_protocol;
'';
};
}