/ Published in: HAML
URL: http://www.ruby-forum.com/topic/827076
Configuration code to setup a secure internal URI for pointing X-Accel-Redirects to.
Expand |
Embed | Plain Text
# Actual Streaming location ~ /streaming/(.*\.mp4)$ { # Fix strange CPU usage caused by gzip gzip off; gzip_static off; limit_rate_after 10m; limit_rate 400k; alias /streaming/$1; internal; mp4; } location ~ /streaming/(.*\.flv)$ { # Fix strange CPU usage caused by gzip gzip off; gzip_static off; limit_rate_after 10m; limit_rate 400k; alias /streaming/$1; internal; flv; }
You need to login to post a comment.
