Autore: bull
Data: 01/02/2021
Linguaggio: Apache configuration
Descrizione: Forza HTTPS da .htaccess
  1. # Redirect to HTTPS
  2. RewriteCond %{HTTPS} off
  3. RewriteCond %{HTTP:X-Forwarded-Proto} !https
  4. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
dPaste use Geshi

Torna al NoPaste