Replay fuori da Puma, fix ops cron e firma release Android.
Dopo auth Rails redirect a URL presigned su /media/ (edge → Garage); aumenta RAILS_MAX_THREADS, corregge ingest log ops via stdin e keystore Play Console. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -22,6 +22,28 @@ http {
|
||||
|
||||
set $rails_backend rails:3000;
|
||||
|
||||
# Replay MP4/thumbnail: solo lettura da Garage (URL presigned da Rails).
|
||||
location /media/ {
|
||||
limit_except GET HEAD {
|
||||
deny all;
|
||||
}
|
||||
|
||||
rewrite ^/media/(.*)$ /$1 break;
|
||||
proxy_pass http://garage:3900;
|
||||
proxy_http_version 1.1;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_connect_timeout 5s;
|
||||
proxy_read_timeout 3600s;
|
||||
# Presigned S3 firmati sull'endpoint interno garage:3900
|
||||
proxy_set_header Host garage:3900;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Range $http_range;
|
||||
proxy_set_header If-Range $http_if_range;
|
||||
}
|
||||
|
||||
location = /edge-health {
|
||||
access_log off;
|
||||
add_header Content-Type text/plain;
|
||||
|
||||
Reference in New Issue
Block a user