Don't restrict ACME challenges to the clear text vhost

There are cases (like when running behind a proxypass) where it's also needed on the SSL vhost
tags/smeserver-letsencrypt-client-0.2.6-1
Daniel Berteaud 4 years ago
parent cc2d9e31fd
commit 8dfda4711e
  1. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/Ejabberd/80Letsencrypt
  2. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPManager/80Letsencrypt
  3. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPPortal/80Letsencrypt
  4. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPSoap/80Letsencrypt
  5. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/UserManagerVirtualHost/80Letsencrypt

@ -1,5 +1,5 @@
{
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled' && ((${'httpd-e-smith'}{'TCPPort'} || '80') eq $port)){
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled'){
$OUT .=<<"_EOF";
Alias /.well-known/acme-challenge/ /var/lib/dehydrated/challenges/
<Location /.well-known/acme-challenge/>

@ -1,5 +1,5 @@
{
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled' && ((${'httpd-e-smith'}{'TCPPort'} || '80') eq $port)){
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled'){
$OUT .=<<"_EOF";
Alias /.well-known/acme-challenge/ /var/lib/dehydrated/challenges/
<Location /.well-known/acme-challenge/>

@ -1,5 +1,5 @@
{
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled' && ((${'httpd-e-smith'}{'TCPPort'} || '80') eq $port)){
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled'){
$OUT .=<<"_EOF";
Alias /.well-known/acme-challenge/ /var/lib/dehydrated/challenges/
<Location /.well-known/acme-challenge/>

@ -1,5 +1,5 @@
{
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled' && ((${'httpd-e-smith'}{'TCPPort'} || '80') eq $port)){
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled'){
$OUT .=<<"_EOF";
Alias /.well-known/acme-challenge/ /var/lib/dehydrated/challenges/
<Location /.well-known/acme-challenge/>

@ -1,5 +1,5 @@
{
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled' && ((${'httpd-e-smith'}{'TCPPort'} || '80') eq $port)){
if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled'){
$OUT .=<<"_EOF";
Alias /.well-known/acme-challenge/ /var/lib/dehydrated/challenges/
<Location /.well-known/acme-challenge/>

Loading…
Cancel
Save