Redirection HTTP vers HTTPS

Rediriger tout le trafic HTTP vers HTTPS

server {
	listen 80;
	listen [::]:80;
  
	server_name example.com www.example.com;
    
	return 301 https://$server_name$request_uri;
}

Revision #2
Created 9 May 2022 12:12:19 by Kévin
Updated 9 May 2022 13:59:28 by Kévin