Are you sure your nginx config has the correct path to the SSL file?
Problem after renewing SSL certificate
Hi,
My SSL certificate expired yesterday, and today I updated it. It is a PositiveSSL from Conmodo.
I am using Forge and I updated the certificate as I normally do. After the certificate was installed, when I try to access site.domain.com, I get redirected to test.domain.com or stage.domain.com. I then tried to install the certificate again, same problem. I also tried a Lets Encrypt certificate and the same problem appears.
If I access the site with http:// it works, but I get a TokenMismatchException on POST requests. There have been no changes to the code, and it all worked yesterday.
I have tried restarting nginx and the server with no luck. The nginx-config file have the correct domains and config/app.php have the correct site url.
This is a Laravel 5.1 app.
Does anyone have any idea on what could cause this?
@eriktobben yes exactly the same happened with me last week. ssl_certificate is set twice. It should look like:
ssl_certificate /etc/nginx/ssl/site.domain.com/123456/server.crt;
ssl_certificate_key /etc/nginx/ssl/site.domain.com/123456/server.key;
and reload nginx after this change: sudo service nginx reload
Please or to participate in this conversation.