This configuration file is based on that provided by the HTML 5 Boilerplate group: h5bp/server-configs-nginx @ version 228c5ccc
- Replace all instances of
example.com
with your domain name in the configuration file. - Replace references to the SSL key and certificate with your files.
- Save the configuration (renamed) and SSL files in
/etc/nginx/conf.d
. - Start or restart nginx (e.g.
service nginx restart
).