Commit 5b30eee4 authored by Yuri Konotopov's avatar Yuri Konotopov

openshift: added real_ip_header option for nginx

parent b26c52e8
......@@ -39,6 +39,9 @@ http {
listen 8080 default_server;
listen [::]:8080 default_server;
set_real_ip_from 10.0.0.0/8;
real_ip_header X-Forwarded-For;
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options SAMEORIGIN;
add_header X-UA-Compatible IE=Edge;
......
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