From 32bf7423676938f88d561038781dfed94d37dbf4 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 30 Oct 2016 04:25:23 +0100 Subject: [PATCH] [mod] trailing spaces --- src/yunohost/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 2326995a..c8e9ff48 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1037,11 +1037,11 @@ def app_ssowatconf(auth): # Check ACME challenge file is present in nginx conf nginx_acme_challenge_conf_file = "/etc/nginx/conf.d/"+domain+".d/000-acmechallenge.conf" if not (os.path.isfile(nginx_acme_challenge_conf_file)) : continue - + # Check the file contains the ACME challenge uri acme_uri = '/.well-known/acme-challenge' if not (acme_uri in open(nginx_acme_challenge_conf_file).read()) : continue - + # If so, then authorize the ACME challenge uri to unprotected regex regex = domain+"/%.well%-known/acme%-challenge/.*$" unprotected_regex.append(regex)