From efda1b074a571cf4d2347186820aa32ee2ffe5cf Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 5 Oct 2019 01:05:02 +0200 Subject: [PATCH] copr: be-dev: drop mod_alias config for letsencrypt The alias hack is not needed because the certbot binary is run as root, and so we can (and we do) use /var/lib/copr/public_html as challenge directory (configured in inventory/group_vars/copr_back_dev). --- roles/copr/backend/files/lighttpd/lighttpd_dev.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/copr/backend/files/lighttpd/lighttpd_dev.conf b/roles/copr/backend/files/lighttpd/lighttpd_dev.conf index b9a58cdebd..6e33d40ae7 100644 --- a/roles/copr/backend/files/lighttpd/lighttpd_dev.conf +++ b/roles/copr/backend/files/lighttpd/lighttpd_dev.conf @@ -77,7 +77,6 @@ var.socket_dir = home_dir + "/sockets" ## Load the modules. #include "modules.conf" server.modules = ( - "mod_alias", # for /.well-known/ alias "mod_access", "mod_setenv", "mod_redirect", @@ -454,7 +453,6 @@ server.upload-dirs = ( "/var/tmp" ) # Used for letsencrypt validation $HTTP["url"] =~ "^/.well-known/" { - alias.url = ( "/.well-known/" => "/var/certbot/public_html/.well-known/" ) dir-listing.activate = "enable" }