From 2d16883fef7d22a9cb535ed21df77b1fffd49874 Mon Sep 17 00:00:00 2001 From: Guillermo Calvino Date: Tue, 26 Jul 2022 13:31:36 +0200 Subject: [PATCH] Changing access method of NBI in NG-UI charm for Charmed OSM Change-Id: I6f9571d3dc219cc44b3c1c4f5ad9460b03eeb250 Signed-off-by: Guillermo Calvino --- installers/charm/osm-ng-ui/src/charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1