From e76f0f79e818a6330533c0c7ef1fbc1d8f772008 Mon Sep 17 00:00:00 2001 From: mifi Date: Mon, 2 Feb 2026 13:51:57 +0000 Subject: [PATCH] Update snapshots and .well-known handling (#2) This should resolve a few issues... Reviewed-on: https://git.mifi.dev/mifi-ventures/landing/pulls/2 Co-authored-by: mifi Co-committed-by: mifi --- nginx.conf | 7 ++++++- playwright.config.ts | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 086d858..8b1fc32 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; diff --git a/playwright.config.ts b/playwright.config.ts index a55425c..5a60e6a 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -2,6 +2,7 @@ import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: 'tests', + testMatch: /.*\.spec\.(ts|js)/, fullyParallel: true, forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0,