BUG on upgrade nginx: [emerg] invalid value "ssl" in "ssl" directive

Discussion in 'Developers' Forum' started by hereinthecloud, Jan 1, 2013.

  1. hereinthecloud

    hereinthecloud New Member

    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;
     
  2. till

    till Super Moderator

    Thanks for your bugreport and fix. I've added it in our bugtracker.
     
  3. falko

    falko Super Moderator

    Thanks, I've just fixed this.
     

Share This Page