feat: integrate Bunny Stream course videos
All checks were successful
CI / Validate frontend and API (push) Successful in 1m50s
CI / Build and publish Docker images (push) Successful in 18s

This commit is contained in:
Cauê Faleiros
2026-09-02 10:09:36 -03:00
parent 3d4c72e85c
commit 2c137529bc
15 changed files with 607 additions and 40 deletions

View File

@@ -3,6 +3,9 @@ server {
server_name _;
root /usr/share/nginx/html;
index index.html;
# Bunny uploads pass through this reverse proxy. Keep the same 5 GB ceiling
# as the API default and stream bodies instead of buffering them on disk.
client_max_body_size 5g;
# Docker Swarm may start this container before the API service receives a DNS
# record. Resolving through Docker DNS at request time keeps Nginx alive while
@@ -14,6 +17,10 @@ server {
location /api/ {
proxy_pass http://$api_upstream:3001;
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_buffering off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;