mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] remove useless variables
This commit is contained in:
parent
ac9f2643a7
commit
a1b42e65f8
1 changed files with 2 additions and 5 deletions
|
@ -1041,14 +1041,11 @@ def app_ssowatconf(auth):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Check the file contains the ACME challenge uri
|
# Check the file contains the ACME challenge uri
|
||||||
acme_uri = '/.well-known/acme-challenge'
|
if not '/.well-known/acme-challenge' in open(nginx_acme_challenge_conf_file).read():
|
||||||
|
|
||||||
if not acme_uri in open(nginx_acme_challenge_conf_file).read():
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# If so, then authorize the ACME challenge uri to unprotected regex
|
# If so, then authorize the ACME challenge uri to unprotected regex
|
||||||
regex = domain + "/%.well%-known/acme%-challenge/.*$"
|
unprotected_regex.append(domain + "/%.well%-known/acme%-challenge/.*$")
|
||||||
unprotected_regex.append(regex)
|
|
||||||
|
|
||||||
|
|
||||||
conf_dict = {
|
conf_dict = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue