diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-11 10:23:33 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-11 10:23:33 +0200 |
commit | 9eae2b47b7b315b05a0e010f3003bd875685e260 (patch) | |
tree | 43c9cfeb2db393f64743daa4ec87e0fe78ab772e /nixops/modules/websites/default.nix | |
parent | b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c (diff) | |
download | Nix-9eae2b47b7b315b05a0e010f3003bd875685e260.tar.gz Nix-9eae2b47b7b315b05a0e010f3003bd875685e260.tar.zst Nix-9eae2b47b7b315b05a0e010f3003bd875685e260.zip |
Move webstats outside of nixops
Diffstat (limited to 'nixops/modules/websites/default.nix')
-rw-r--r-- | nixops/modules/websites/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixops/modules/websites/default.nix b/nixops/modules/websites/default.nix index ceef1e1..79cd1a1 100644 --- a/nixops/modules/websites/default.nix +++ b/nixops/modules/websites/default.nix | |||
@@ -260,13 +260,13 @@ in | |||
260 | stats = { | 260 | stats = { |
261 | extraConfig = '' | 261 | extraConfig = '' |
262 | <Macro Stats %{domain}> | 262 | <Macro Stats %{domain}> |
263 | Alias /awstats /var/lib/goaccess/%{domain} | 263 | Alias /webstats ${config.services.webstats.dataDir}/%{domain} |
264 | <Directory /var/lib/goaccess/%{domain}> | 264 | <Directory ${config.services.webstats.dataDir}/%{domain}> |
265 | DirectoryIndex index.html | 265 | DirectoryIndex index.html |
266 | AllowOverride None | 266 | AllowOverride None |
267 | Require all granted | 267 | Require all granted |
268 | </Directory> | 268 | </Directory> |
269 | <Location /awstats> | 269 | <Location /webstats> |
270 | Use LDAPConnect | 270 | Use LDAPConnect |
271 | Require ldap-group cn=%{domain},ou=stats,cn=httpd,ou=services,dc=immae,dc=eu | 271 | Require ldap-group cn=%{domain},ou=stats,cn=httpd,ou=services,dc=immae,dc=eu |
272 | </Location> | 272 | </Location> |