From 7a7dbf635dd3ae54376027f3840351122a68732e Mon Sep 17 00:00:00 2001 From: mifi Date: Mon, 2 Feb 2026 10:44:23 -0300 Subject: [PATCH] Update snapshots and .well-known handling --- 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, -- 2.49.1