Skip to content

Instantly share code, notes, and snippets.

@WhyNotHugo
Created May 20, 2014 04:24
Show Gist options
  • Save WhyNotHugo/3522a24cd583b9c22079 to your computer and use it in GitHub Desktop.
Save WhyNotHugo/3522a24cd583b9c22079 to your computer and use it in GitHub Desktop.
nginx proxy example
server {
listen 443 ssl;
server_name wiki.barrera.io;
ssl_certificate /var/www/certs/wiki.barrera.io/chain.crt;
ssl_certificate_key /var/www/certs/wiki.barrera.io/ssl.key;
include ssl.include;
include 50x.include;
location / {
proxy_pass http://localhost:8080;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment