1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Update nginx upstream

This commit is contained in:
Maksym Pavlenko
2019-03-17 01:48:46 -07:00
parent 0b13bd6be8
commit b45f7225aa

View File

@@ -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 {