our nitter isntances are dead now
This commit is contained in:
parent
85ed18b782
commit
d6a9daa6a0
@ -78,28 +78,9 @@ lbry.{{ server_prefix }}.projectsegfau.lt lbry.projectsegfau.lt {
|
|||||||
}
|
}
|
||||||
nitter.{{ server_prefix }}.projectsegfau.lt nitter.projectsegfau.lt n.psf.lt n.{{ server_prefix }}.psf.lt {
|
nitter.{{ server_prefix }}.projectsegfau.lt nitter.projectsegfau.lt n.psf.lt n.{{ server_prefix }}.psf.lt {
|
||||||
import def
|
import def
|
||||||
import banips
|
|
||||||
|
|
||||||
@rlignore {
|
|
||||||
not path /css/* /js/* /fonts/* /browserconfig.xml /android-chrome* /favicon* /logo* /lp.svg /robots.txt /safari* /site.webmanifest /pic/*
|
|
||||||
}
|
|
||||||
rate_limit @rlignore {remote.ip} 2r/s 60000 429
|
|
||||||
rate_limit @rlignore {remote.ip} 45r/m 300000 429
|
|
||||||
log {
|
|
||||||
# This is temporarily required to monitor nitter traffic due to scrapers being more active, so we need to monitor and rate limit them at a later date.
|
|
||||||
output file /var/log/caddy/ratelimiters.log
|
|
||||||
format json
|
|
||||||
}
|
|
||||||
header {
|
|
||||||
header Content-Security-Policy "default-src 'none'; script-src 'self' 'unsafe-inline'; script-src-attr 'none'; img-src 'self'; style-src 'self' 'unsafe-inline'; style-src-elem 'self'; font-src 'self'; object-src 'none'; media-src 'self' blob:; worker-src 'self' blob:; base-uri 'self'; form-action 'self'; frame-ancestors 'self'; connect-src 'self' https://*.twimg.com; manifest-src 'self'"
|
|
||||||
}
|
|
||||||
reverse_proxy :8387 {
|
|
||||||
transport http {
|
|
||||||
compression off
|
|
||||||
}
|
|
||||||
}
|
|
||||||
import torloc nitter
|
import torloc nitter
|
||||||
import i2ploc pjsfs4ukb6prmfx3qx3a5ef2cpcupkvcrxdh72kqn2rxc2cw4nka.b32.i2p
|
import i2ploc pjsfs4ukb6prmfx3qx3a5ef2cpcupkvcrxdh72kqn2rxc2cw4nka.b32.i2p
|
||||||
|
redir https://twiiit.com{uri}
|
||||||
}
|
}
|
||||||
libreddit.{{ server_prefix }}.projectsegfau.lt libreddit.projectsegfau.lt lr.psf.lt lr.{{ server_prefix }}.psf.lt {
|
libreddit.{{ server_prefix }}.projectsegfau.lt libreddit.projectsegfau.lt lr.psf.lt lr.{{ server_prefix }}.psf.lt {
|
||||||
reverse_proxy :6464
|
reverse_proxy :6464
|
||||||
|
Loading…
Reference in New Issue
Block a user