Hello,
I have a SSL section in my nginx.conf file and I want to start up nginx
without SSL enabled. Is this possible without removing the SSL info in
the conf file?
Hello, I have a SSL section in my nginx.conf file and I want to
start up nginx without SSL enabled. Is this possible without
removing the SSL info in the conf file?
Yes. You’ll have to:
Create a script that enables the SSL part. The most viable way
seems to be through the include directive.
Reload nginx.
Done.
Using sed supposing that you start Nginx without SSL enabled. The SSL
config is in a file sslhost.conf. In the file you have the regular
HTTP config: