From 09b39b2f9b5848c92430d38a6434ed8429cc98ba Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 6 Aug 2019 00:31:47 +0200 Subject: [PATCH] Fix typo --- wo/cli/plugins/stack_pref.py | 2 +- wo/cli/templates/map-wp.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index b7c84fb..06bb82f 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -535,7 +535,6 @@ def post_pref(self, apt_packages, packages): Log.error( self, "Failed to generate HTTPS " "certificate for 22222") - server_ip = requests.get('http://v4.wordops.eu') if not os.path.isfile('{0}22222/conf/nginx/ssl.conf' .format(WOVariables.wo_webroot)): @@ -553,6 +552,7 @@ def post_pref(self, apt_packages, packages): WOService.reload_service(self, 'nginx') if set(["nginx"]).issubset(set(apt_packages)): + server_ip = requests.get('http://v4.wordops.eu') print("WordOps backend configuration was successful\n" "You can access it on : https://{0}:22222" .format(server_ip)) diff --git a/wo/cli/templates/map-wp.mustache b/wo/cli/templates/map-wp.mustache index 87be917..00d21da 100644 --- a/wo/cli/templates/map-wp.mustache +++ b/wo/cli/templates/map-wp.mustache @@ -66,5 +66,5 @@ map $skip_cache $cache_uri { map $https $https_prefix { default ""; - on "-https" + on "-https"; }