fix logging
This commit is contained in:
parent
951c61615c
commit
ca17b055d7
@ -1,3 +1,9 @@
|
||||
{
|
||||
log {
|
||||
output discard
|
||||
}
|
||||
}
|
||||
|
||||
(tor) {
|
||||
header {
|
||||
-Strict-Transport-Security
|
||||
@ -46,16 +52,6 @@
|
||||
X-XSS-Protection "1; mode=block"
|
||||
defer
|
||||
}
|
||||
log {
|
||||
output discard
|
||||
format filter {
|
||||
wrap console
|
||||
fields {
|
||||
request>remote_ip replace REDACTED
|
||||
request>headers>X-Forwarded-For replace REDACTED
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{% if inventory_hostname == 'in' %}
|
||||
import acmedns
|
||||
@ -125,16 +121,6 @@ inv.{{ server_prefix }}.projectsegfau.lt inv.projectsegfau.lt invidious.projects
|
||||
|
||||
X-XSS-Protection "1; mode=block"
|
||||
defer
|
||||
}
|
||||
log {
|
||||
output discard
|
||||
format filter {
|
||||
wrap console
|
||||
fields {
|
||||
request>remote_ip replace REDACTED
|
||||
request>headers>X-Forwarded-For replace REDACTED
|
||||
}
|
||||
}
|
||||
}
|
||||
@badbots {
|
||||
header "User-Agent" "Go-http-client/2.0"
|
||||
@ -271,16 +257,6 @@ search.{{ server_prefix }}.projectsegfau.lt search.projectsegfau.lt s.psf.lt s.{
|
||||
|
||||
X-XSS-Protection "1; mode=block"
|
||||
defer
|
||||
}
|
||||
log {
|
||||
output discard
|
||||
format filter {
|
||||
wrap console
|
||||
fields {
|
||||
request>remote_ip replace REDACTED
|
||||
request>headers>X-Forwarded-For replace REDACTED
|
||||
}
|
||||
}
|
||||
}
|
||||
@badbots {
|
||||
header "User-Agent" "Go-http-client/2.0"
|
||||
@ -308,16 +284,6 @@ pi.{{ server_prefix }}.psf.lt pi.psf.lt {
|
||||
|
||||
X-XSS-Protection "1; mode=block"
|
||||
defer
|
||||
}
|
||||
log {
|
||||
output discard
|
||||
format filter {
|
||||
wrap console
|
||||
fields {
|
||||
request>remote_ip replace REDACTED
|
||||
request>headers>X-Forwarded-For replace REDACTED
|
||||
}
|
||||
}
|
||||
}
|
||||
@badbots {
|
||||
header "User-Agent" "Go-http-client/2.0"
|
||||
|
@ -271,8 +271,9 @@ kbin.projectsegfau.lt, kb.psf.lt {
|
||||
}
|
||||
import def
|
||||
}
|
||||
libretranslate.projectsegfau.lt lt.psf.lt libretranslate.in.projectsegfau.lt {
|
||||
libretranslate.projectsegfau.lt lt.psf.lt {
|
||||
reverse_proxy 192.168.5.2:5005
|
||||
import def
|
||||
}
|
||||
gothub.dev.projectsegfau.lt gh.dev.psf.lt {
|
||||
reverse_proxy 192.168.5.2:1025
|
||||
|
@ -21,16 +21,6 @@ grafana.projectsegfau.lt {
|
||||
|
||||
# MailU
|
||||
mail.projectsegfau.lt {
|
||||
log {
|
||||
output file /var/log/caddy/mail.projectsegfau.lt.log {
|
||||
roll_disabled
|
||||
roll_size 512M
|
||||
roll_uncompressed
|
||||
roll_local_time
|
||||
roll_keep 3
|
||||
roll_keep_for 48h
|
||||
}
|
||||
}
|
||||
import def
|
||||
reverse_proxy 192.168.5.5:8082
|
||||
}
|
||||
|
@ -27,16 +27,6 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt {
|
||||
X-XSS-Protection "1; mode=block"
|
||||
defer
|
||||
}
|
||||
log {
|
||||
output discard
|
||||
format filter {
|
||||
wrap console
|
||||
fields {
|
||||
request>remote_ip replace REDACTED
|
||||
request>headers>X-Forwarded-For replace REDACTED
|
||||
}
|
||||
}
|
||||
}
|
||||
import torloc invbp
|
||||
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user