Laboratorio NetForgeNetForge lab ingresso direttodirect

Sito staticoA static site

Questa pagina è un file HTML e basta: niente PHP, niente database. A servirla è nginx, configurato dal pannello di arx sul server del laboratorio.

This page is just an HTML file: no PHP, no database. It is served by nginx, configured from the arx panel on the lab server.

Il percorso della richiestaHow the request travels

il tuo browseryour browser→:443 nginx→htdocs/index.html

Nessun proxy in mezzo: il browser si collega direttamente al server. Per questo il sito usa l'edge trust direct, e nginx non si fida di nessun header che dichiari un IP diverso da quello della connessione.

No proxy in between: the browser connects straight to the server. That is why the site uses the direct edge trust, and nginx trusts no header claiming an IP other than the connection's own.

Cosa ha fatto arxWhat arx did

Controllalo da teCheck it yourself

curl -I http://static.selif.org
curl -I https://static.selif.org
curl -I https://static.selif.org/.git/
echo | openssl s_client -connect static.selif.org:443 \
  -servername static.selif.org 2>/dev/null | openssl x509 -noout -issuer -dates

Il primo risponde 301, il secondo HTTP/2 200 con gli header di sicurezza, il terzo 403. L'ultimo mostra chi ha firmato il certificato e quando scade.

The first answers 301, the second HTTP/2 200 with the security headers, the third 403. The last one shows who signed the certificate and when it expires.