Error in nginx server block while loading http & https server on a single server block

getting error on restarting nginx on ubuntu 14.04. The nginx log file shows an error as follows

2015/02/10 04:50:02 [emerg] 8600#0: unexpected end of file, expecting “;” or “}” in /etc/nginx/sites-enabled/erp2.orionholdings.org:80

i added both http & https server on a single server block running on port 80 & 443 as was in default nginx config file in /home/frappe/frappe-bench/config/nginx.conf
i guess thats where the problem lies.

server block file

you seem to be missing a quote, https://github.com/frappe/bench/blob/master/bench/templates/nginx.conf#L66

1 Like

you seem to be missing a quote

ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aR$

is missing ; at the end.

yes! yes! the problem resolved by adding a quote… to that particular line.

Thanks for the support.

2 Likes