Enable logging on nitter
This commit is contained in:
parent
3c6de91997
commit
f132c69b18
@ -77,6 +77,11 @@ lbry.{{ server_prefix }}.projectsegfau.lt lbry.projectsegfau.lt {
|
||||
}
|
||||
nitter.{{ server_prefix }}.projectsegfau.lt nitter.projectsegfau.lt n.psf.lt n.{{ server_prefix }}.psf.lt {
|
||||
import def
|
||||
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/nitter.log
|
||||
format json
|
||||
}
|
||||
header {
|
||||
X-Permitted-Cross-Domain-Policies none
|
||||
Permissions-Policy "Permissions-Policy: accelerometer=(), ambient-light-sensor=(), autoplay=(self), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(self), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(self), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), web-share=(), xr-spatial-tracking=()"
|
||||
|
Loading…
Reference in New Issue
Block a user