Remove the need for extra processing to support --csr + --webroot

This commit is contained in:
Brad Warren
2016-04-01 17:07:54 -07:00
parent 82efffdf62
commit 1acd50a0ce
3 changed files with 11 additions and 15 deletions
+6
View File
@@ -67,7 +67,13 @@ to serve all files under specified web root ({0})."""
pass
def perform(self, achalls): # pylint: disable=missing-docstring
if self.conf("path"):
webroot_path = self.conf("path")[-1]
for achall in achalls:
self.conf("map").setdefault(achall.domain, webroot_path)
self._create_challenge_dirs()
return [self._perform_single(achall) for achall in achalls]
def _create_challenge_dirs(self):