View Single Post
  #1  
Old 1st January 2013, 05:44
hereinthecloud hereinthecloud is offline
Junior Member
 
Join Date: Dec 2012
Location: UK
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default BUG on upgrade nginx: [emerg] invalid value "ssl" in "ssl" directive

Using Centos 6.3 32 Bit and on upgrade or clean install get:

nginx: [emerg] invalid value "ssl" in "ssl" directive, it must be "on" or "off" in /etc/nginx/sites-enabled/000-ispconfig.vhost:3
nginx: configuration file /etc/nginx/nginx.conf test failed

Fault is in /etc/nginx/sites-enabled/000-ispconfig.vhost where line 3 reads as

server {
listen 8080;
ssl ssl;
ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;

whereas it should be ssl on; or ssl off; if not using ssl for panel


server {
listen 8080;
ssl on;
ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;
Reply With Quote
Sponsored Links