X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2FREADME.md;fp=near-rt-ric-simulator%2FREADME.md;h=a55d8d7dd5d49be32ef5711891cb94b61f1446b6;hb=d728781c6965e0f2b7876ea084e1af191531eb36;hp=51520424f7d30f7f004290a3753ecb88b6bacde6;hpb=af8d73d8b696d0df3c944250277f3b9ea5089bd5;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/README.md b/near-rt-ric-simulator/README.md index 5152042..a55d8d7 100644 --- a/near-rt-ric-simulator/README.md +++ b/near-rt-ric-simulator/README.md @@ -154,7 +154,12 @@ file "pass" stores the password when you run the shell script Start the a1-interface container without specifing external certificates: 'docker run -it -p 8085:8085 -p 8185:8185 -e A1\_VERSION=STD\_1.1.3 -e REMOTE_HOSTS_LOGGING=1 a1test' -It will listen to http 8085 port and https 8185 port(using default certificates) at the same time. +It will listen to https 8185 port(using default certificates) by default. +Http can be enabled on port 8085 using an environment variable "ALLOW_HTTP". +If this environment variable is left out or set to false, the nginx server will send +"444 Connection Closed Without Response" when making a call using http. +Example command to enable http: +'docker run -it -p 8085:8085 -p 8185:8185 -e A1\_VERSION=OSC\_2.1.0 -e ALLOW_HTTP=true a1test' This certificates/key can be overriden by mounting a volume when using "docker run" or "docker-compose" In 'docker run', use field: @@ -163,7 +168,7 @@ In 'docker-compose.yml', use field: volumes: - ./certificate:/usr/src/app/cert:ro -In docker run the full command could look like this:
'docker run -it -p 8085:8085 -p 8185:8185 -e A1\_VERSION=STD\_1.1.3 -e REMOTE_HOSTS_LOGGING=1 --volume /PATH_TO_CERT_DIR/certificate:/usr/src/app/cert a1test' +In docker run the full command could look like this:
'docker run -it -p 8085:8085 -p 8185:8185 -e A1\_VERSION=STD\_1.1.3 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume /PATH_TO_CERT_DIR/certificate:/usr/src/app/cert a1test' http port 8085 and https port 8185 The variable for A1 version is set with the '-e' flag. With logging of remote host enabled "-e REMOTE_HOSTS_LOGGING=1 "