Skip to content

Commit

Permalink
Add real ip processing
Browse files Browse the repository at this point in the history
  • Loading branch information
ystxn committed Aug 1, 2024
1 parent ba1e340 commit 60f9f46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ server {
location = /50x.html {
root /usr/share/nginx/html;
}
real_ip_header X-Forwarded-For;
set_real_ip_from 10.0.0.0/8;
}

0 comments on commit 60f9f46

Please sign in to comment.