Commit f3b0f0822be71ce59a4a7c591243899bd844075f

Authored by Andrew Buss
1 parent 389697e281
Exists in master

Exposed real remote address to django

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

nginxconf/flashy.cards View file @ f3b0f08
... ... @@ -27,6 +27,7 @@
27 27 proxy_set_header X-Real-IP $remote_addr;
28 28 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
29 29 proxy_set_header X-Forwarded-Proto $scheme;
  30 + proxy_set_header REMOTE_ADDR $remote_addr;
30 31 }
31 32  
32 33 location ^~ /jenkins {