Skip to content

Instantly share code, notes, and snippets.

@lukekrikorian
Created April 9, 2019 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukekrikorian/35f5db5497623d4895a0bd59e2172f56 to your computer and use it in GitHub Desktop.
Save lukekrikorian/35f5db5497623d4895a0bd59e2172f56 to your computer and use it in GitHub Desktop.
upstream rigby {
server 127.0.0.1:4433;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name rigby.space;
access_log /var/log/nginx/rigby.space.log;
ssl_certificate /etc/letsencrypt/live/rigby.space/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/rigby.space/privkey.pem;
location / {
proxy_pass https://rigby;
proxy_redirect off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment