2021-08-01 16:59:16 -05:00
|
|
|
# vim: ft=caddyfile
|
|
|
|
|
|
|
|
vault.boba.best {
|
|
|
|
encode zstd gzip
|
2021-09-04 16:47:16 -05:00
|
|
|
import hsts
|
2021-10-30 00:06:10 -05:00
|
|
|
import log
|
2021-08-01 16:59:16 -05:00
|
|
|
|
|
|
|
header {
|
|
|
|
X-XSS-Protection "1; mode=block"
|
|
|
|
X-Frame-Options "DENY"
|
|
|
|
}
|
|
|
|
|
|
|
|
handle /notifications/hub {
|
|
|
|
reverse_proxy localhost:3012
|
|
|
|
}
|
|
|
|
|
|
|
|
handle {
|
|
|
|
reverse_proxy localhost:81 {
|
|
|
|
header_up X-Real-IP {remote_host}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
import basicerrors
|
|
|
|
}
|