mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #428 from jlescher/unstable
[Fix] Stronger match for acme-challenge nginx location
This commit is contained in:
commit
bdface200a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue