Update a1-interface with nginx to support https 01/3701/3
authorecaiyanlinux <martin.c.yan@est.tech>
Thu, 14 May 2020 13:11:45 +0000 (15:11 +0200)
committerecaiyanlinux <martin.c.yan@est.tech>
Fri, 15 May 2020 12:45:42 +0000 (14:45 +0200)
commit9ab67f5d44b9e5bfcafddd6ea5e0ae10f68ca110
treeb123510de48c3fbef75d1af033a509f7dc830e9e
parent8302f193ed4669cccd75b15512b76b1760fc57db
Update a1-interface with nginx to support https

a1-interface is implemented with python flask
It does not support both http/https at the same time
This commit installs nginx in python image
nginx is serving http/https requests
All real traffic will be forwarded to python process
nginx is serving as a pure reverse-proxy

Issue-ID: NONRTRIC-218
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: I1edcd0d02023643feca042689283ef242d39e555
13 files changed:
near-rt-ric-simulator/Dockerfile
near-rt-ric-simulator/certificate/pass [new file with mode: 0644]
near-rt-ric-simulator/nginx.conf [new file with mode: 0644]
near-rt-ric-simulator/src/1.1.x-alpha.2/main.py
near-rt-ric-simulator/src/OSC_2.1.0/main.py
near-rt-ric-simulator/src/STD_1.1.3/main.py
near-rt-ric-simulator/src/common/maincommon.py
near-rt-ric-simulator/src/start.sh
near-rt-ric-simulator/test/1.1.x-alpha.2/build_and_start.sh
near-rt-ric-simulator/test/OSC_2.1.0/basic_test.sh
near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh
near-rt-ric-simulator/test/STD_1.1.3/basic_test.sh
near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh