Nginx configuration broken (ssl_protocols)
2 hours ago I got your-server-is-down mail from my monitoring system after I've deleted a site from forge. The server is hosting multiple laravel projects and everything was working fine before. It was easy to track down the problem to Nginx because it was simply not running - some problems with the config files after the site deletion.
I'm not sure if the problem is connected to the system upgrade I performed a few days before, but all my Nginx config files are looking like this:
server {
listen 80;
server_name .resizeappicon.com;
root /home/forge/resizeappicon.com/public;
# FORGE SSL (DO NOT REMOVE!)
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
# ssl_certificate;
# ssl_certificate_key;
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
index index.html index.htm index.php;
...
Forge has some SSL configs there and the line
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
is duplicated --> error on Nginx start.
Any idea if this duplicated line was added by forge or by the server update?
I was able to get Nginx up and running but I had to update all site configuration files and put a # for the non-forge-ssl_protocols-line.
Thanks
Please or to participate in this conversation.