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 {