| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- app.database.pizza {
- header X-Robots-Tag "noindex, nofollow"
- handle /api/* {
- reverse_proxy localhost:8081
- }
- handle {
- reverse_proxy localhost:5173
- }
- }
- db.database.pizza {
- header X-Robots-Tag "noindex, nofollow"
- reverse_proxy localhost:8081
- }
- www.database.pizza {
- redir https://database.pizza{uri} permanent
- }
- database.pizza {
- root * /home/pizzadatabase/database.pizza
- encode zstd gzip
- header {
- Permissions-Policy "camera=(), geolocation=(), microphone=()"
- Referrer-Policy "strict-origin-when-cross-origin"
- X-Content-Type-Options "nosniff"
- X-Frame-Options "DENY"
- }
- file_server
- handle_errors {
- rewrite * /404.html
- file_server
- }
- }
- docs.database.pizza {
- root * /home/pizzadatabase/docs.database.pizza/current
- encode zstd gzip
- @immutable path /_astro/* /pagefind/*
- header @immutable Cache-Control "public, max-age=31536000, immutable"
- @plainText path_regexp ^/(raw/.*\.md|llms\.txt|llms-full\.txt)$
- header @plainText Content-Type "text/plain; charset=utf-8"
- header {
- Permissions-Policy "camera=(), geolocation=(), microphone=()"
- Referrer-Policy "strict-origin-when-cross-origin"
- X-Content-Type-Options "nosniff"
- X-Frame-Options "DENY"
- }
- file_server
- handle_errors {
- rewrite * /404.html
- file_server
- }
- }
- import /home/pizzadatabase/testmarket/Caddyfile
- import /home/pizzadatabase/pizza-admin/Caddyfile
- git.database.pizza {
- tls admin@database.pizza
- encode zstd gzip
- header X-Content-Type-Options nosniff
- reverse_proxy 127.0.0.1:3001
- }
|