Keys for all three sites are in: /etc/letsencrypt/live but I don’t know how to make nginx use them!
I’ve tried adding server blocks into sites-enabled and I’ve tried adding additional .conf files in /var/www/example.com/conf/nginx when I do this nginx will not restart, now i’m kinda stuck! any help would be very much appreciated.
Is your multisite setup with Let’s Encrypt SSL still working?
I have also tried the similar thing what you have mentioned here and though https is working on all my sudomain, mapped domains etc but when I open the same websites without HTTPS ( like http://domain1.com) , it gives 400 BAD REQUEST ERROR saying The plain HTTP request was sent to HTTPS port.
Here is the link to my thread where I have explained all my set-up
I think there is some issue with my SSL configuration. You said you have deleted the force-ssl.conf file. Right?
But then what about /var/www/domain.com/conf/nginx/ssl.conf ? Don’t you use SSL.conf? if yes, what is it’s configuration? Mine is:
listen 443 ssl http2; ssl on; ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem;
Have you edited /etc/nginx/sites-enabled/domain.com or /etc/nginx/sites-available/domain.com ?
My config here is:
`# Uncomment the following line for domain mapping
listen 80 default_server;