Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.