nginx Valid SSL Certificate with letsencrypt (example) # /etc/nginx/sites-enabled/sylo.space.conf server { listen 80; server_name ~^sylo\.space(\.dev)?$; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name ~^sylo\.space(\.dev)?$; root /var/www/vhosts/sylo.space/httpdocs; ssl on; ssl_certificate /etc/letsencrypt/live/sylo.