server {
listen 80;
server_name www.domain.nl;
return 301 https://www.domain.nl$request_uri;
}
server {
listen 443;
server_name www.domain.nl;
[...]
}
listen 80;
server_name www.domain.nl;
return 301 https://www.domain.nl$request_uri;
}
server {
listen 443;
server_name www.domain.nl;
[...]
}