Changing access method of NBI in NG-UI charm for Charmed OSM 07/12407/3
authorGuillermo Calvino <guillermo.calvino@canonical.com>
Tue, 26 Jul 2022 11:31:36 +0000 (13:31 +0200)
committerbeierlm <mark.beierl@canonical.com>
Wed, 10 Aug 2022 01:55:38 +0000 (03:55 +0200)
Change-Id: I6f9571d3dc219cc44b3c1c4f5ad9460b03eeb250
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
installers/charm/osm-ng-ui/src/charm.py

index f74fe0b..235461f 100755 (executable)
@@ -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)