Add log + remark config

This commit is contained in:
BBaoVanC 2021-10-30 00:06:10 -05:00
parent be8294a8b2
commit 423585bc9a
21 changed files with 53 additions and 0 deletions

View File

@ -40,4 +40,10 @@
}
}
(log) {
log {
output file /var/log/caddy/access.log
}
}
import conf.d/*

View File

@ -3,6 +3,7 @@
bin.boba.best {
encode zstd gzip
import hsts
import log
root * /var/www/bin.boba.best
php_fastcgi unix//run/php/php-fpm.sock

View File

@ -2,6 +2,7 @@
dorito.boba.best {
#import hsts
import log
redir https://discord.gg/NZWzSCY5UE
import basicerrors
}

View File

@ -3,6 +3,7 @@
drone.boba.best {
encode zstd gzip
import hsts
import log
reverse_proxy localhost:8081 {
header_up X-Real-IP {remote_host}

View File

@ -3,6 +3,7 @@
emotes.boba.best {
encode zstd gzip
import hsts
import log
root * /var/www/emotes.boba.best/public
file_server {

View File

@ -3,6 +3,7 @@
errors.boba.best {
encode zstd gzip
import hsts
import log
root * /etc/caddy/errors/img
file_server
import basicerrors

View File

@ -3,6 +3,7 @@
flower.boba.best {
encode zstd gzip
import hsts
import log
root * /var/www/flower.boba.best
handle {

View File

@ -3,6 +3,7 @@
furry.boba.best {
encode zstd gzip
import hsts
import log
root * /var/www/furry.boba.best
handle {

View File

@ -3,6 +3,7 @@
git.boba.best {
encode zstd gzip
import hsts
import log
handle_path /_/static/assets/* {
root * /var/www/git.boba.best/public

View File

@ -3,6 +3,7 @@
grafana.boba.best {
encode zstd gzip
import hsts
import log
reverse_proxy localhost:84
import basicerrors

14
conf.d/hetz.boba.best Normal file
View File

@ -0,0 +1,14 @@
# vim: ft=caddyfile
hetz.boba.best {
import hsts
import log
header Access-Control-Allow-Origin *
root * /var/www/hetz.boba.best/public
file_server {
precompressed br gzip
}
import basicerrors
}

View File

@ -3,6 +3,7 @@
lag.matrix.boba.best {
encode zstd gzip
import hsts
import log
reverse_proxy localhost:8001
import basicerrors
}

View File

@ -3,6 +3,7 @@
mail.boba.best mail.bbaovanc.com autodiscover.boba.best autodiscover.bbaovanc.com autoconfig.boba.best autoconfig.bbaovanc.com {
encode zstd gzip
import hsts
import log
reverse_proxy localhost:8082 {
header_up X-Real-IP {remote_host}

View File

@ -3,6 +3,9 @@
matrix.boba.best {
encode zstd gzip
import hsts
log {
output file /var/log/caddy/matrix.boba.best.log
}
import matrix-well-known

View File

@ -3,6 +3,7 @@
peertube.boba.best {
encode zstd gzip
import hsts
import log
reverse_proxy 127.0.0.1:9000 {
header_up X-Real-IP {remote_host}

13
conf.d/remark.boba.best Normal file
View File

@ -0,0 +1,13 @@
# vim: ft=caddyfile
remark.boba.best {
encode zstd gzip
import hsts
import log
reverse_proxy localhost:86 {
header_up X-Real-IP {remote_host}
}
import basicerrors
}

View File

@ -1,6 +1,7 @@
# vim: ft=caddyfile
rick.boba.best {
import log
encode zstd gzip
redir https://www.youtube.com/watch?v=dQw4w9WgXcQ temporary
import basicerrors

View File

@ -3,6 +3,7 @@
status.boba.best {
encode zstd gzip
import hsts
import log
reverse_proxy localhost:83

View File

@ -3,6 +3,7 @@
stib.boba.best {
encode zstd gzip
import hsts
import log
root * /var/www/stib.boba.best
handle {

View File

@ -2,5 +2,6 @@
turn.boba.best {
encode zstd gzip
import log
respond "where are you"
}

View File

@ -3,6 +3,7 @@
vault.boba.best {
encode zstd gzip
import hsts
import log
header {
X-XSS-Protection "1; mode=block"