1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00:00

more real_ip config values for nginx

This commit is contained in:
Kyle Spearrin
2019-04-27 23:11:57 -04:00
parent d8204341a4
commit b935b16cb8

View File

@@ -54,6 +54,8 @@ server {
{{#each RealIps}} {{#each RealIps}}
set_real_ip_from {{{Value}}}; set_real_ip_from {{{Value}}};
{{/each}} {{/each}}
real_ip_header X-Forwarded-For;
real_ip_recursive on;
{{/if}} {{/if}}
location / { location / {