Code Review
/
sim
/
a1-interface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix two bugs in simulator & code cleaning
[sim/a1-interface.git]
/
near-rt-ric-simulator
/
nginx.conf
diff --git
a/near-rt-ric-simulator/nginx.conf
b/near-rt-ric-simulator/nginx.conf
index
5ba9dbe
..
f21e173
100644
(file)
--- a/
near-rt-ric-simulator/nginx.conf
+++ b/
near-rt-ric-simulator/nginx.conf
@@
-37,9
+37,13
@@
http {
ssl_certificate_key /usr/src/app/cert/key.crt;
ssl_password_file /usr/src/app/cert/pass;
ssl_certificate_key /usr/src/app/cert/key.crt;
ssl_password_file /usr/src/app/cert/pass;
+
# 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;
}
}
##
}
}
##