[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
@@ -84,7 +84,7 @@
|
||||
|
||||
<span style="color:#f1fa8c;">$apiKey</span> = getenv(<span style="color:#86efac;">'NIS2_API_KEY'</span>);
|
||||
<span style="color:#f1fa8c;">$orgId</span> = getenv(<span style="color:#86efac;">'NIS2_ORG_ID'</span>);
|
||||
<span style="color:#f1fa8c;">$base</span> = <span style="color:#86efac;">'https://nis2.certisource.it/api'</span>;
|
||||
<span style="color:#f1fa8c;">$base</span> = <span style="color:#86efac;">'https://nis2.agile.software/api'</span>;
|
||||
|
||||
<span style="color:#f1fa8c;">$headers</span> = [
|
||||
<span style="color:#86efac;">'X-API-Key: '</span> . <span style="color:#f1fa8c;">$apiKey</span>,
|
||||
@@ -123,7 +123,7 @@ EsgKpiService::updateCyberGovernance([
|
||||
<pre><!-- SustainAI: sezione Governance → Cybersecurity KPIs -->
|
||||
<div id="nis2-esg-widget" style="padding:20px; border:1px solid #e2e8f0; border-radius:8px; background:#f0fdf4;"></div>
|
||||
<script>
|
||||
fetch('https://nis2.certisource.it/api/services/compliance-summary', {
|
||||
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;">ORG_ID</span>' }
|
||||
}).then(r => r.json()).then(({ data }) => {
|
||||
document.getElementById('nis2-esg-widget').innerHTML = `
|
||||
@@ -141,7 +141,7 @@ fetch('https://nis2.certisource.it/api/services/compliance-summary', {
|
||||
<div style="font-size:.7rem; color:#64748b;">Incidenti Art.23</div></div>
|
||||
</div>
|
||||
<p style="font-size:.7rem; color:#94a3b8; margin-top:12px; text-align:right;">
|
||||
Fonte: NIS2 Agile — nis2.certisource.it — Aggiornato: ${new Date().toLocaleDateString('it')}
|
||||
Fonte: NIS2 Agile — nis2.agile.software — Aggiornato: ${new Date().toLocaleDateString('it')}
|
||||
</p>`;
|
||||
});
|
||||
</script></pre>
|
||||
|
||||
Reference in New Issue
Block a user