chore: Remove Auto0Claude status and old config files
Removed: - .auto-claude-status (Auto0Claude artifact) - debug-headers.conf (old nginx config) - nginx-custom-maintenance.conf (old nginx config) - advanced-config-update.sql (one-time SQL) - SQLite backup files (not tracked by git) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6970dc5a6b
commit
9fd6f994a0
@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"active": true,
|
|
||||||
"spec": "008-dziala-pobieranie-danych-z-gbp-ale-czesciowo-nadal",
|
|
||||||
"state": "building",
|
|
||||||
"subtasks": {
|
|
||||||
"completed": 11,
|
|
||||||
"total": 13,
|
|
||||||
"in_progress": 1,
|
|
||||||
"failed": 0
|
|
||||||
},
|
|
||||||
"phase": {
|
|
||||||
"current": "Production Verification",
|
|
||||||
"id": null,
|
|
||||||
"total": 2
|
|
||||||
},
|
|
||||||
"workers": {
|
|
||||||
"active": 0,
|
|
||||||
"max": 1
|
|
||||||
},
|
|
||||||
"session": {
|
|
||||||
"number": 5,
|
|
||||||
"started_at": "2026-01-08T23:15:15.124435"
|
|
||||||
},
|
|
||||||
"last_update": "2026-01-08T23:23:46.269631"
|
|
||||||
}
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
-- Update advanced_config for proxy host 27 with maintenance mode
|
|
||||||
UPDATE proxy_host
|
|
||||||
SET advanced_config = '# Maintenance mode: Internet → maintenance page, INPI LAN → PROD
|
|
||||||
set $maintenance 0;
|
|
||||||
if ($remote_addr !~* ^10\.22\.68\.) {
|
|
||||||
set $maintenance 1;
|
|
||||||
}
|
|
||||||
if ($maintenance = 1) {
|
|
||||||
return 503;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Custom error page for maintenance
|
|
||||||
error_page 503 /maintenance.html;
|
|
||||||
|
|
||||||
# Serve maintenance page
|
|
||||||
location = /maintenance.html {
|
|
||||||
root /data/nginx/html;
|
|
||||||
internal;
|
|
||||||
}
|
|
||||||
|
|
||||||
# www → non-www redirect
|
|
||||||
if ($host = ''www.nordabiznes.pl'') {
|
|
||||||
return 301 https://nordabiznes.pl$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
# HSTS Header
|
|
||||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;'
|
|
||||||
WHERE id = 27;
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
# Debug: Log all IP-related variables
|
|
||||||
# Add this temporarily to see what nginx receives
|
|
||||||
|
|
||||||
# Log real IP detection
|
|
||||||
add_header X-Debug-Remote-Addr $remote_addr always;
|
|
||||||
add_header X-Debug-X-Forwarded-For $http_x_forwarded_for always;
|
|
||||||
add_header X-Debug-X-Real-IP $http_x_real_ip always;
|
|
||||||
add_header X-Debug-Real-Client-IP $real_client_ip always;
|
|
||||||
add_header X-Debug-Maintenance $maintenance always;
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
# Maintenance mode configuration for nordabiznes.pl
|
|
||||||
# Internet users → maintenance page
|
|
||||||
# INPI LAN (10.22.68.0/24) → full PROD site
|
|
||||||
|
|
||||||
# Detect maintenance mode based on source IP
|
|
||||||
geo $maintenance_mode {
|
|
||||||
default 1; # Internet: show maintenance
|
|
||||||
10.22.68.0/24 0; # INPI LAN: show PROD
|
|
||||||
}
|
|
||||||
|
|
||||||
# Serve maintenance page to Internet users
|
|
||||||
location = /maintenance.html {
|
|
||||||
root /data/nginx/html;
|
|
||||||
internal;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Custom error page for 503 (maintenance mode)
|
|
||||||
error_page 503 /maintenance.html;
|
|
||||||
Loading…
Reference in New Issue
Block a user