diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-26 15:22:33 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-26 15:36:39 +0200 |
commit | 9c08c3bc093d3d4547214daf057051e7384581e9 (patch) | |
tree | 178da8e2e274dd93df9f23d446c71cb1f1c3778a /modules/private/websites/tools/tools/dmarc_reports.nix | |
parent | 7df5e532c1ce2ab9e8527615c08c1178990870e6 (diff) | |
download | Nix-9c08c3bc093d3d4547214daf057051e7384581e9.tar.gz Nix-9c08c3bc093d3d4547214daf057051e7384581e9.tar.zst Nix-9c08c3bc093d3d4547214daf057051e7384581e9.zip |
Add anonymize for dmarc_reports
Diffstat (limited to 'modules/private/websites/tools/tools/dmarc_reports.nix')
-rw-r--r-- | modules/private/websites/tools/tools/dmarc_reports.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/private/websites/tools/tools/dmarc_reports.nix b/modules/private/websites/tools/tools/dmarc_reports.nix index 2e44526..e264e80 100644 --- a/modules/private/websites/tools/tools/dmarc_reports.nix +++ b/modules/private/websites/tools/tools/dmarc_reports.nix | |||
@@ -12,6 +12,7 @@ rec { | |||
12 | $dbuser = "${env.mysql.user}"; | 12 | $dbuser = "${env.mysql.user}"; |
13 | $dbpass = "${env.mysql.password}"; | 13 | $dbpass = "${env.mysql.password}"; |
14 | $dbport = "${env.mysql.port}"; | 14 | $dbport = "${env.mysql.port}"; |
15 | $anonymous_key = "${env.anonymous_key}"; | ||
15 | ?> | 16 | ?> |
16 | ''; | 17 | ''; |
17 | }]; | 18 | }]; |
@@ -32,7 +33,11 @@ rec { | |||
32 | 33 | ||
33 | AllowOverride None | 34 | AllowOverride None |
34 | Options +FollowSymlinks | 35 | Options +FollowSymlinks |
36 | |||
37 | SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 | ||
38 | Use LDAPConnect | ||
35 | Require all granted | 39 | Require all granted |
40 | Require ldap-attribute uid=immae | ||
36 | </Directory> | 41 | </Directory> |
37 | ''; | 42 | ''; |
38 | }; | 43 | }; |