File tree 1 file changed +14
-2
lines changed
systems/koumakan/services/proxies
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 16
16
'' )
17
17
] ;
18
18
19
- users . users . nginx . extraGroups = [ config . users . users . searx . name ] ;
19
+ users . users . nginx . extraGroups = [ config . users . groups . searx . name ] ;
20
20
21
21
services . searx = {
22
22
enable = true ;
23
23
runInUwsgi = true ;
24
24
environmentFile = secrets . getTemplate "searxng.env" ;
25
25
redisCreateLocally = true ;
26
26
uwsgiConfig = {
27
- socket = "/run/searx/searxng.sock" ;
27
+ http = "/run/searx/searxng.sock" ;
28
28
chmod-socket = "660" ;
29
29
disable-logging = true ;
30
30
} ;
31
+
32
+ # FIXME: this doesn't work atm because it's not read i think? add a symlink from /run/searx/limiter.toml pointing to /etc/searx/limiter.toml
33
+ limiterSettings = {
34
+ real_ip = {
35
+ x_for = 1 ;
36
+ ipv4_prefix = 32 ;
37
+ ipv6_prefix = 48 ;
38
+ } ;
39
+ botdetection . ip_limit . link_token = true ;
40
+ botdetection . ip_lists . pass_searxng_org = true ;
41
+ } ;
42
+
31
43
settings = {
32
44
use_default_settings = true ;
33
45
general . contact_Url = "mailto:cassie@soopy.moe" ;
You can’t perform that action at this time.
0 commit comments