Update snapshots and .well-known handling (#2)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This should resolve a few issues...

Reviewed-on: #2
Co-authored-by: mifi <badmf@mifi.dev>
Co-committed-by: mifi <badmf@mifi.dev>
This commit was merged in pull request #2.
This commit is contained in:
2026-02-02 13:51:57 +00:00
committed by Mike Fitzpatrick
parent 6f2a720479
commit e76f0f79e8
2 changed files with 7 additions and 1 deletions

View File

@@ -108,7 +108,12 @@ http {
try_files $uri $uri/ /index.html;
}
# Deny access to hidden files (.git, .env, etc.)
# Allow .well-known (security.txt, ACME challenge, etc.)
location ^~ /.well-known/ {
add_header Cache-Control "public, max-age=86400";
}
# Deny access to other hidden files (.git, .env, etc.)
location ~ /\. {
deny all;
access_log off;