aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/papa
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-05-23 03:35:03 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-05-23 03:35:03 +0200
commitcfda3cfc35445979225850f686f338e6d4ace372 (patch)
treea0f6bde8e7d04962085896e73a6467645b61c952 /modules/private/websites/papa
parentdb343436f0e678ef3a97e6f8ac559ffa0507e422 (diff)
downloadNix-cfda3cfc35445979225850f686f338e6d4ace372.tar.gz
Nix-cfda3cfc35445979225850f686f338e6d4ace372.tar.zst
Nix-cfda3cfc35445979225850f686f338e6d4ace372.zip
Fix acme certificate generation
Diffstat (limited to 'modules/private/websites/papa')
-rw-r--r--modules/private/websites/papa/maison_bbc.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/websites/papa/maison_bbc.nix b/modules/private/websites/papa/maison_bbc.nix
index 5fbc62f..aa6d866 100644
--- a/modules/private/websites/papa/maison_bbc.nix
+++ b/modules/private/websites/papa/maison_bbc.nix
@@ -35,7 +35,7 @@ in {
35 root = varDir; 35 root = varDir;
36 extraConfig = [ 36 extraConfig = [
37 '' 37 ''
38 Alias /.well-known/acme-challenge ${config.security.acme.certs.papa.webroot}/.well-known/acme-challenge 38 Alias /.well-known/acme-challenge ${config.myServices.certificates.webroot}/.well-known/acme-challenge
39 RedirectMatch 301 ^/((?!(\.well-known|add.php).*$).*)$ https://maison.bbc.bouya.org/$1 39 RedirectMatch 301 ^/((?!(\.well-known|add.php).*$).*)$ https://maison.bbc.bouya.org/$1
40 <Directory ${varDir}> 40 <Directory ${varDir}>
41 DirectoryIndex index.php index.htm index.html 41 DirectoryIndex index.php index.htm index.html
@@ -45,7 +45,7 @@ in {
45 SetHandler "proxy:unix:${config.services.phpfpm.pools.papa_maison_bbc.socket}|fcgi://localhost" 45 SetHandler "proxy:unix:${config.services.phpfpm.pools.papa_maison_bbc.socket}|fcgi://localhost"
46 </FilesMatch> 46 </FilesMatch>
47 </Directory> 47 </Directory>
48 <Directory "${config.security.acme.certs.papa.webroot}"> 48 <Directory "${config.myServices.certificates.webroot}">
49 Options Indexes FollowSymLinks 49 Options Indexes FollowSymLinks
50 AllowOverride None 50 AllowOverride None
51 Require all granted 51 Require all granted