X-Git-Url: http://git.purplebirdman.com/proxy.git/blobdiff_plain/003c19d69022205861fdd69ce6d23b581d1e7049..362462e61994aa85612c65099fcfb3e3b176facc:/proxy/nginx.conf diff --git a/proxy/nginx.conf b/proxy/nginx.conf index 0bbecc2..0c5954b 100644 --- a/proxy/nginx.conf +++ b/proxy/nginx.conf @@ -7,6 +7,16 @@ events { http { ssl_password_file /etc/ssl/certs/passphrase.txt; + server { + listen 443 ssl; + server_name go.purplebirdman.com; + ssl_certificate /etc/ssl/certs/cert.pem; + ssl_certificate_key /etc/ssl/certs/key.pem; + location / { + proxy_pass http://go-web; + proxy_set_header Host $host; + } + } server { listen 443 ssl; server_name kanban.purplebirdman.com; @@ -19,10 +29,23 @@ http { } } server { + listen 443 ssl; server_name public.purplebirdman.com; + ssl_certificate /etc/ssl/certs/cert.pem; + ssl_certificate_key /etc/ssl/certs/key.pem; location / { proxy_pass http://public; proxy_set_header Host $host; } } + server { + listen 443 ssl; + server_name purplebirdman.com; + ssl_certificate /etc/ssl/certs/cert.pem; + ssl_certificate_key /etc/ssl/certs/key.pem; + location / { + proxy_pass http://purplebirdman; + proxy_set_header Host $host; + } + } }