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

35 lines
609 B
Plaintext
Raw Normal View History

upstream worker {
server ytdl:5002;
}
upstream backend {
server app:5001;
}
2017-10-24 16:57:59 -07:00
server {
listen 443;
server_name _;
ssl on;
ssl_certificate SSL_CERT;
ssl_certificate_key SSL_KEY;
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
access_log off;
location /download {
proxy_pass http://worker;
}
location /api/webhooks {
proxy_pass http://backend;
client_max_body_size 128k;
2017-10-24 16:57:59 -07:00
}
location / {
proxy_pass http://backend;
2017-10-24 16:57:59 -07:00
proxy_buffers 8 16k;
proxy_buffer_size 16k;
}
}