server { listen 80 default_server; server_name *.tronnet.net; return 301 https://tronnet.net; } server { listen 443 ssl http2 default_server; server_name *.tronnet.net; include /etc/nginx/snippets/ssl-params.conf; return 301 https://tronnet.net; }