Skip to content

Instantly share code, notes, and snippets.

@retr0h
Created March 8, 2012 20:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retr0h/2003252 to your computer and use it in GitHub Desktop.
Save retr0h/2003252 to your computer and use it in GitHub Desktop.
nova ssl offloading
server {
listen 443 default_server ssl;
server_name api.example.com;
ssl_certificate /path/to.crt;
ssl_certificate_key /path/to.key;
access_log /var/log/nginx/example.com-ssl.log;
location / {
include /etc/nginx/proxy.conf;
proxy_pass http://localhost: 8774/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment