From: Guillermo Calvino Date: Tue, 26 Jul 2022 11:31:36 +0000 (+0200) Subject: Changing access method of NBI in NG-UI charm for Charmed OSM X-Git-Tag: release-v13.0-start~52 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=2d16883fef7d22a9cb535ed21df77b1fffd49874;p=osm%2Fdevops.git Changing access method of NBI in NG-UI charm for Charmed OSM Change-Id: I6f9571d3dc219cc44b3c1c4f5ad9460b03eeb250 Signed-off-by: Guillermo Calvino --- diff --git a/installers/charm/osm-ng-ui/src/charm.py b/installers/charm/osm-ng-ui/src/charm.py index f74fe0b2..235461fe 100755 --- a/installers/charm/osm-ng-ui/src/charm.py +++ b/installers/charm/osm-ng-ui/src/charm.py @@ -214,7 +214,7 @@ class OsmNgUiCharm(CharmBase): ) default_site_config = re.sub( "proxy_pass .*\n", - f"proxy_pass https://{self.nbi.host}:{self.nbi.port};\n", + f"proxy_pass http://{self.nbi.host}:{self.nbi.port};\n", default_site_config, ) container.push("/etc/nginx/sites-available/default", default_site_config)