SSL Configuration with NGINX
The GigaFox installer automatically creates the necessary components, located in the /usr/local/etc/ nginx/nginx.d folder, to enable SSL on the GEM.
nginx.d folder contains:
- cert.key (GEM’s key)
- cert.pem (GEM’s certificate)
- dc-000web
- site-http
- site-https
- options.enable-ssl
- example-user-options
example-user-options is a sample file containing custom configurations that will not be overwritten.
include /usr/local/etc/nginx/nginx.d/options.enable-ssl;
To enable SSL:
- Rename example-user-options file to user-options. NGINX configuration will include files starting with user-.
- On the command line, run nginx -s reload.