Skip to content

Instantly share code, notes, and snippets.

@jamiemcconnell
Created August 24, 2015 19:38
Show Gist options
  • Save jamiemcconnell/3ce501b346e673e425a2 to your computer and use it in GitHub Desktop.
Save jamiemcconnell/3ce501b346e673e425a2 to your computer and use it in GitHub Desktop.

Revisions

  1. jamiemcconnell created this gist Aug 24, 2015.
    20 changes: 20 additions & 0 deletions ssl-nginx-proxy.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    upstream frontend {
    server upstreamServerPlaceholder;
    }

    server {
    listen 80;
    listen 443;

    server_name serverNamePlaceholder;

    ssl on;
    ssl_certificate /ssl.crt;
    ssl_certificate_key /ssl.key;

    client_max_body_size 0;

    location / {
    proxy_pass http://frontend;
    }
    }