From 8349b801a5f7e5f11b0a758d7ab28d8b79eb08ea Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 8 Jul 2017 20:59:11 +0200 Subject: mv config/{apache2.conf,nginx.conf} snippets/ --- snippets/apache2.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 snippets/apache2.conf (limited to 'snippets/apache2.conf') diff --git a/snippets/apache2.conf b/snippets/apache2.conf new file mode 100644 index 0000000..471791c --- /dev/null +++ b/snippets/apache2.conf @@ -0,0 +1,12 @@ +# Use Apache2 to serve ACME requests by passing them over to a +# locally-bound lacme webserver component. +# +# This file needs to be sourced to the server directives (at least the +# non-ssl one) of each virtual host requiring authorization. + + + ProxyPass unix:///var/run/lacme.socket|http://localhost/.well-known/acme-challenge/ + Order allow,deny + Allow from all + + -- cgit v1.2.3