[MIGRATE] Migrazione a nis2.agile.software
- Tutti i riferimenti nis2.certisource.it → nis2.agile.software - Apache vhost HTTP nis2.agile.software attivo su Hetzner - Script setup-nis2-agile-software.sh: certbot SSL + redirect da vecchio dominio - .env server: APP_URL aggiornato a https://nis2.agile.software - CLAUDE.md, docs commerciali, integrazioni, API docs aggiornati DNS da aggiungere in Cloudflare: nis2.agile.software A 135.181.149.254 (proxy OFF) Poi eseguire: bash /opt/devenv/scripts/setup-nis2-agile-software.sh Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
0fcc69ee85
commit
07c1a71685
@@ -92,7 +92,7 @@
|
||||
|
||||
<span style="color:#f1fa8c;">$apiKey</span> = getenv(<span style="color:#86efac;">'NIS2_API_KEY'</span>); <span style="color:#7dd3fc;">// nis2_abc123...</span>
|
||||
<span style="color:#f1fa8c;">$orgId</span> = getenv(<span style="color:#86efac;">'NIS2_ORG_ID'</span>);
|
||||
<span style="color:#f1fa8c;">$baseUrl</span> = <span style="color:#86efac;">'https://nis2.certisource.it/api'</span>;
|
||||
<span style="color:#f1fa8c;">$baseUrl</span> = <span style="color:#86efac;">'https://nis2.agile.software/api'</span>;
|
||||
|
||||
<span style="color:#f1fa8c;">function</span> nis2Get(<span style="color:#f1fa8c;">string $endpoint</span>, array <span style="color:#f1fa8c;">$query</span> = []): array {
|
||||
global <span style="color:#f1fa8c;">$apiKey</span>, <span style="color:#f1fa8c;">$orgId</span>, <span style="color:#f1fa8c;">$baseUrl</span>;
|
||||
@@ -172,7 +172,7 @@ http_response_code(200);</pre>
|
||||
<svg viewBox="0 0 24 24" fill="#06b6d4" width="18" height="18"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z"/></svg>
|
||||
NIS2 Compliance (Preview widget)
|
||||
</div>
|
||||
<span style="font-size:0.7rem; color:#64748b;">nis2.certisource.it</span>
|
||||
<span style="font-size:0.7rem; color:#64748b;">nis2.agile.software</span>
|
||||
</div>
|
||||
<div style="display:flex; align-items:center; gap:24px;">
|
||||
<div class="score-ring">73%</div>
|
||||
@@ -191,7 +191,7 @@ http_response_code(200);</pre>
|
||||
<div id="nis2-widget"></div>
|
||||
<script>
|
||||
(async () => {
|
||||
const r = await fetch('https://nis2.certisource.it/api/services/compliance-summary', {
|
||||
const r = await fetch('https://nis2.agile.software/api/services/compliance-summary', {
|
||||
headers: {
|
||||
'X-API-Key': '<span style="color:#86efac;">nis2_YOUR_KEY</span>',
|
||||
'X-Organization-Id': '<span style="color:#86efac;">YOUR_ORG_ID</span>'
|
||||
|
||||
Reference in New Issue
Block a user