Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

New to NGINX, we inherited a project that runs Django/FCGI/NGINX on a hosted RHEL box. A requirement has come in that the site now needs to have ssl enabled. Client was pretty sure the person who had built the site had made it so they could use ssl.

I backed up the conf file, added the server block for the ssl instance and tried to reload. Reload failed because it didn't recognize the ssl in this line:

ssl on;

Not an NGINX expert, but the David Caruso in me tells me that the server (sunglasses on) is not secure.

I know that you need to configure NGINX at install with this module. If this didn't happen, how hard/risky is it to reconfigure a running nginx box with this module given that we didn't configure it in the first place.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Check that nginx has been compiled with module http_ssl_module:

nginx -V 2>&1 | grep ssl

configure arguments: --conf-path=/etc/nginx/nginx.conf ... --with-http_ssl_module ...

If no http_ssl_module, install nginx from EPEL.

share|improve this answer
    
thanks, so long story short nginx WILL have to be reinstalled? –  user72322 Feb 26 '11 at 17:57
    
In nginx compile without http_ssl_module, you need reinstall(recompile) nginx. –  ooshro Feb 26 '11 at 18:28
    
ok, thank you, ooshro. –  Rob Feb 26 '11 at 21:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.