位置块内的Apache2.4 ProxyPassexception不起作用

在尝试让Let's Encrypt Certbot在托pipe反向代理内容的本地服务器上工作时,我无法在Location块中获取本地exception。 httpd.conf片段:

 SSLProxyEngine on <Location "/"> ProxyPass "https://internal.host/" ProxyPassReverse "https://internal.host/" </Location> Include /etc/apache2/vhosts.d/01_acme.include 

Location块的上面或下面放置01_acme.include文件不起作用。

01_acme.include文件:

 <Location /.well-known/acme-challenge/> ProxyPass "!" Alias /run/acme/.well-known/acme-challenge </Location> 

我在一个名为date目录中放置了一个文本文件。 试图检索这个文件会导致无休止的301redirectdate/index.html/index.html/...直到达到客户端的redirect限制。 日志显示这是在前端服务器上生成的,后端从未收到请求。

如果我用独立的指令replace位置块,它的function如预期:

 Alias /.well-known/acme-challenge /run/acme/.well-known/acme-challenge ProxyPass /.well-known/acme-challenge ! 

根据ProxyPass文档,这种定义exception的方法应该可以工作 – 它非常符合该部分末尾提供的示例configuration。 这是刚刚打破,还是我错过了什么?

redirect可能是根本原因,但我不能在这个范围内find任何redirect或重写指令,可能会抛出一个301,并且在.htaccess (没有一个)或configuration文件中只提及index.html是目录索引,我已经尝试明确禁用Options -Indexes没有效果。