Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NONRTRIC - Implement DMaaP mediator producer service in Java
[nonrtric.git]
/
test
/
cr
/
app
/
nginx.conf
diff --git
a/test/cr/app/nginx.conf
b/test/cr/app/nginx.conf
index
479d896
..
e1b9ff9
100644
(file)
--- a/
test/cr/app/nginx.conf
+++ b/
test/cr/app/nginx.conf
@@
-39,7
+39,10
@@
http {
# serve dynamic requests
location / {
# 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;
}
}
##
}
}
##