Skip to content

Commit

Permalink
Acme call must be managerd locally
Browse files Browse the repository at this point in the history
  • Loading branch information
camlafit committed Mar 20, 2024
1 parent b23345e commit 1286b2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/etc/alternc/templates/apache2/proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
ServerName %%fqdn%%

ProxyPreserveHost On
##Catch acme call
ProxyPassMatch ^/.well-known/acme-challenge !
ProxyPass / http://%%redirect%%/
ProxyPassReverse / http://%%redirect%%/
</VirtualHost>
Expand All @@ -23,6 +25,7 @@
SSLProxyCheckPeerExpire off

ProxyPreserveHost On
ProxyPassMatch ^/.well-known/acme-challenge !
ProxyPass / https://%%redirect%%/
ProxyPassReverse / https://%%redirect%%/
</VirtualHost>
Expand Down

0 comments on commit 1286b2a

Please sign in to comment.