From b45f7225aabd7397684e8f7ae19f4b704faae308 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Sun, 17 Mar 2019 01:48:46 -0700 Subject: [PATCH] Update nginx upstream --- cmd/nginx/podsync.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cmd/nginx/podsync.conf b/cmd/nginx/podsync.conf index ba9f332..6b14e19 100644 --- a/cmd/nginx/podsync.conf +++ b/cmd/nginx/podsync.conf @@ -1,7 +1,3 @@ -upstream worker { - server ytdl:5002; -} - upstream backend { server api:5001; } @@ -28,7 +24,9 @@ server { location /download { proxy_read_timeout 180s; - proxy_pass http://worker; + proxy_pass https://dl.podsync.net; + proxy_set_header Host $proxy_host; + proxy_ssl_server_name on; } location = /api/webhooks {