X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcr%2Fapp%2Fnginx.conf;h=e1b9ff9a81309f63d84d7cd852d842a98e1bfbd7;hb=aea0b4bc5c108e5246be09b1afef6ffc4e812840;hp=479d896468fd1ec95f70da661858bcb4cb0335d7;hpb=113bf0910498992f20a6cb70f2bc70d4d5b204ca;p=nonrtric.git diff --git a/test/cr/app/nginx.conf b/test/cr/app/nginx.conf index 479d8964..e1b9ff9a 100644 --- a/test/cr/app/nginx.conf +++ b/test/cr/app/nginx.conf @@ -39,7 +39,10 @@ http { # serve dynamic requests location / { - proxy_pass http://localhost:2222; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass http://localhost:2222; } } ##