Skip to content
Snippets Groups Projects
Commit 2799eaef authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Sets real ip from private networks.

parent 37f44206
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,10 @@ http {
default_type application/octet-stream;
server {
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
set_real_ip_from 192.168.0.0/16;
real_ip_header X-Forwarded-For;
listen 80;
# Add headers to serve security related headers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment