1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/nginx/nginx.conf
2017-07-19 19:33:33 -07:00

21 lines
627 B
Nginx Configuration File

server {
listen 80;
gzip on;
server_tokens off;
location /download {
proxy_pass http://ytdl:5002;
}
location / {
proxy_pass http://app:5001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_cache_bypass $http_upgrade;
}
}