Skip to content

Instantly share code, notes, and snippets.

@yurrriq
Last active August 29, 2015 14:04
Show Gist options
  • Save yurrriq/358095dc6ed5abc5490d to your computer and use it in GitHub Desktop.
Save yurrriq/358095dc6ed5abc5490d to your computer and use it in GitHub Desktop.
SSL on nginx
server {
listen 443;
ssl on;
ssl_certificate /path/to/ssl.crt;
ssl_certificate_key /path/to/ssl.key;
root /path/to/web/root;
server_name server.name;
location / {
# ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment