server { location /uas/ { rewrite ^/uas/(.*) /$1 break; proxy_pass http://172.16.32.10:31214; client_max_body_size 5120m; client_body_buffer_size 5120m; client_body_timeout 6000s; proxy_send_timeout 10000s; proxy_read_timeout 10000s; proxy_connect_timeout 600s; proxy_max_temp_file_size 5120m; proxy_request_buffering on; proxy_buffering off; proxy_buffer_size 4k; proxy_buffers 4 12k; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /uasms/ { rewrite ^/uasms/(.*) /$1 break; proxy_pass http://172.16.32.10:31213; client_max_body_size 5120m; client_body_buffer_size 5120m; client_body_timeout 6000s; proxy_send_timeout 10000s; proxy_read_timeout 10000s; proxy_connect_timeout 600s; proxy_max_temp_file_size 5120m; proxy_request_buffering on; proxy_buffering off; proxy_buffer_size 4k; proxy_buffers 4 12k; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /uas/api/ { rewrite ^/uas/api/(.*) /$1 break; proxy_pass http://172.16.32.10:31212; } location /api/adapter/ { rewrite ^/uas/adapter/(.*) /$1 break; proxy_pass http://cmii-uav-sense-adapter.sz-lh-uas-260408.svc.cluster.local:8080/; } location /live-play/flv/ { proxy_pass http://172.16.32.10:7088/; } location /live-play/hls/ { proxy_pass http://172.16.32.10:7088/zlm/hls/; } location /live-play/webrtc { proxy_pass http://172.16.32.10:7088/index/api/webrtc; } location /live-play/whip { proxy_pass http://172.16.32.10:7088/index/api/whip; } location /live-replay/hls-by-time-range/ { proxy_pass http://172.16.32.10:37086/api/v2/storage/hls-by-time-range/; } location /live-replay/fetch_file/ { proxy_pass http://172.16.32.10:37086/api/v2/storage/fetch_file/; } location /live-replay/hls-downloader { proxy_pass http://172.16.32.10:37080/hls-downloader; } }