server { listen 80; listen [::]:80; listen 443 ssl; listen [::]:443 ssl; http2 on; server_name primary.example.com alias1.example.com alias2.example.com; index index.html index.htm; include kit/redirect/to-primary-domain.conf; include kit/ssl/force.conf; }