aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/chloe
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-11 02:19:10 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-11 02:28:20 +0200
commitb7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c (patch)
tree231d151cbf4f5d51e6ddac11a4355cacddc4b847 /nixops/modules/websites/chloe
parentf826c67c0ff51c9724e8f54da6c9cbef78977858 (diff)
downloadNix-b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c.tar.gz
Nix-b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c.tar.zst
Nix-b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c.zip
Make goaccess a template
Diffstat (limited to 'nixops/modules/websites/chloe')
-rw-r--r--nixops/modules/websites/chloe/default.nix5
-rw-r--r--nixops/modules/websites/chloe/goaccess.conf99
2 files changed, 1 insertions, 103 deletions
diff --git a/nixops/modules/websites/chloe/default.nix b/nixops/modules/websites/chloe/default.nix
index 0ea9213..8980077 100644
--- a/nixops/modules/websites/chloe/default.nix
+++ b/nixops/modules/websites/chloe/default.nix
@@ -28,10 +28,7 @@ in {
28 secrets.keys = chloe_prod.keys; 28 secrets.keys = chloe_prod.keys;
29 services.myWebsites.commons.stats.enable = true; 29 services.myWebsites.commons.stats.enable = true;
30 services.myWebsites.commons.stats.sites = [ 30 services.myWebsites.commons.stats.sites = [
31 { 31 { name = "osteopathe-cc.fr"; }
32 name = "osteopathe-cc.fr";
33 conf = ./goaccess.conf;
34 }
35 ]; 32 ];
36 33
37 security.acme.certs."chloe" = config.services.myCertificates.certConfig // { 34 security.acme.certs."chloe" = config.services.myCertificates.certConfig // {
diff --git a/nixops/modules/websites/chloe/goaccess.conf b/nixops/modules/websites/chloe/goaccess.conf
deleted file mode 100644
index 89cff6d..0000000
--- a/nixops/modules/websites/chloe/goaccess.conf
+++ /dev/null
@@ -1,99 +0,0 @@
1time-format %H:%M:%S
2date-format %d/%b/%Y
3
4#sur immae.eu
5#log-format %v %h %^[%d:%t %^] "%r" %s %b "%R" "%u" $^
6
7log-format VCOMBINED
8#= %v:%^ %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
9
10html-prefs {"theme":"bright","layout":"vertical"}
11
12exclude-ip 188.165.209.148
13exclude-ip 178.33.252.96
14exclude-ip 2001:41d0:2:9c94::1
15exclude-ip 2001:41d0:2:9c94::
16exclude-ip 176.9.151.89
17exclude-ip 2a01:4f8:160:3445::
18exclude-ip 82.255.56.72
19
20no-query-string true
21
22keep-db-files true
23load-from-disk true
24db-path /var/lib/goaccess/osteopathe-cc.fr
25
26ignore-panel REFERRERS
27ignore-panel KEYPHRASES
28
29static-file .css
30static-file .js
31static-file .jpg
32static-file .png
33static-file .gif
34static-file .ico
35static-file .jpeg
36static-file .pdf
37static-file .csv
38static-file .mpeg
39static-file .mpg
40static-file .swf
41static-file .woff
42static-file .woff2
43static-file .xls
44static-file .xlsx
45static-file .doc
46static-file .docx
47static-file .ppt
48static-file .pptx
49static-file .txt
50static-file .zip
51static-file .ogg
52static-file .mp3
53static-file .mp4
54static-file .exe
55static-file .iso
56static-file .gz
57static-file .rar
58static-file .svg
59static-file .bmp
60static-file .tar
61static-file .tgz
62static-file .tiff
63static-file .tif
64static-file .ttf
65static-file .flv
66#static-file .less
67#static-file .ac3
68#static-file .avi
69#static-file .bz2
70#static-file .class
71#static-file .cue
72#static-file .dae
73#static-file .dat
74#static-file .dts
75#static-file .ejs
76#static-file .eot
77#static-file .eps
78#static-file .img
79#static-file .jar
80#static-file .map
81#static-file .mid
82#static-file .midi
83#static-file .ogv
84#static-file .webm
85#static-file .mkv
86#static-file .odp
87#static-file .ods
88#static-file .odt
89#static-file .otf
90#static-file .pict
91#static-file .pls
92#static-file .ps
93#static-file .qt
94#static-file .rm
95#static-file .svgz
96#static-file .wav
97#static-file .webp
98
99