chore: update deployment

This commit is contained in:
2025-10-27 13:15:06 +01:00
parent 66fbd64b5d
commit cae2d0715c
2 changed files with 5 additions and 5 deletions

View File

@@ -423,9 +423,9 @@
pause:
seconds: 10
- name: Health check - Summary endpoint (HTTPS)
- name: Health check - Nginx ping endpoint (HTTPS)
uri:
url: "https://{{ ansible_host }}/health/summary"
url: "https://{{ ansible_host }}/ping"
method: GET
return_content: yes
status_code: 200

View File

@@ -25,7 +25,7 @@ final readonly class ProductionSecurityMiddleware implements HttpMiddleware
/**
* Routes that should be blocked in production
*/
private const BLOCKED_ROUTES = [
private const array BLOCKED_ROUTES = [
'/admin/discovery',
'/admin/routes',
'/admin/performance',
@@ -38,7 +38,7 @@ final readonly class ProductionSecurityMiddleware implements HttpMiddleware
/**
* Routes that require IP whitelist in production
*/
private const IP_RESTRICTED_ROUTES = [
private const array IP_RESTRICTED_ROUTES = [
'/admin',
'/analytics',
'/health',
@@ -48,7 +48,7 @@ final readonly class ProductionSecurityMiddleware implements HttpMiddleware
/**
* Allowed IPs for admin access in production
*/
private const ALLOWED_IPS = [
private const array ALLOWED_IPS = [
'127.0.0.1',
'::1',
// Add your office/home IP here for production admin access