Merge pull request #428 from jlescher/unstable

[Fix] Stronger match for acme-challenge nginx location
This commit is contained in:
Laurent Peuch 2018-03-07 22:07:58 +01:00 committed by GitHub
commit bdface200a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -464,7 +464,7 @@ def _configure_for_acme_challenge(auth, domain):
nginx_conf_file = "%s/000-acmechallenge.conf" % nginx_conf_folder
nginx_configuration = '''
location '/.well-known/acme-challenge'
location ^~ '/.well-known/acme-challenge'
{
default_type "text/plain";
alias %s;