Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@gabrielhpugliese
Created June 11, 2013 18:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gabrielhpugliese/5759232 to your computer and use it in GitHub Desktop.
Save gabrielhpugliese/5759232 to your computer and use it in GitHub Desktop.
http {
// there is other config here
server {
listen 443;
access_log /var/log/nginx/meteorapp.access.log;
error_log /var/log/nginx/meteorapp.error.log;
location / {
proxy_pass http://localhost:3000;
proxy_set_header X-Real-IP $remote_addr;
}
ssl on;
ssl_certificate /etc/nginx/ssl/meteorapp.bundle.cert;
ssl_certificate_key /etc/nginx/ssl/meteorapp.key;
ssl_verify_depth 3;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment