HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   BUG on upgrade nginx: [emerg] invalid value "ssl" in "ssl" directive (http://www.howtoforge.com/forums/showthread.php?t=60080)

hereinthecloud 1st January 2013 04:44

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;

till 1st January 2013 15:11

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

falko 1st January 2013 15:16

Thanks, I've just fixed this.


All times are GMT +2. The time now is 07:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.