2022-05-20 23:29:19 -05:00
|
|
|
# vim: ft=caddyfile
|
|
|
|
|
2022-05-24 19:24:28 -05:00
|
|
|
links.boba.best {
|
2022-05-20 23:29:19 -05:00
|
|
|
encode zstd gzip
|
|
|
|
import hsts
|
|
|
|
|
2022-05-24 19:24:28 -05:00
|
|
|
root * /var/www/links.boba.best/public
|
2022-05-20 23:29:19 -05:00
|
|
|
php_fastcgi unix//run/php/php-fpm.sock
|
|
|
|
|
|
|
|
header {
|
|
|
|
X-Frame-Options "SAMEORIGIN"
|
|
|
|
X-XSS-Protection "1; mode=block"
|
|
|
|
X-Content-Type-Options "nosniff"
|
|
|
|
}
|
|
|
|
|
|
|
|
@assets {
|
|
|
|
path *.css
|
|
|
|
path *.js
|
|
|
|
path *.map
|
|
|
|
path *.scss
|
|
|
|
path *.jpg
|
|
|
|
path *.jpeg
|
|
|
|
path *.png
|
|
|
|
path *.avif
|
|
|
|
path *.gif
|
|
|
|
path *.mp4
|
|
|
|
path *.woff
|
|
|
|
path *.woff2
|
|
|
|
path *.ico
|
|
|
|
path *.svg
|
|
|
|
path *.webmanifest
|
|
|
|
}
|
|
|
|
header @assets {
|
|
|
|
Test "working"
|
|
|
|
}
|
|
|
|
|
|
|
|
file_server
|
|
|
|
|
|
|
|
import basicerrors
|
|
|
|
}
|