Verified Commit af27f1eb authored by tr's avatar tr
Browse files

Pass X-Real-IP and X-Forwarded-For headers

parent 978205d4
Pipeline #5227 passed with stages
in 18 minutes and 1 second
......@@ -47,6 +47,8 @@ http {
proxy_buffers 32 4k;
proxy_buffer_size 8k;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_real_ip;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_headers_hash_bucket_size 64;
ssl_session_cache shared:SSL:10m;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment