You are hereForums / Support / nginx

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

nginx


2 replies [Last post]
Offline
Joined: Dec 27 2010
nginx

Hi,

I installed videocache successfully, and its caching great, but the problem is I am unable to serve my videos. As a preferred httpd, I use nginx. I have the following line for nginx, but for whatever reason I dont think its serving the videos from my videocache, even though it says "cache hit" in the videocache log.

server {
listen 127.0.0.1;
location /videocache/ {
alias /var/spool/videocache/;
access_log /logs/nginx/videocache.access.log;
}
}

Also in /etc/videocache.conf i have the following set:

cache_host = 127.0.0.1

---------->

On the lighttpd tutorial, the lady used the proxy = parameter. Should the same thing be used, or should the cache_host be sufficient. Also in regards to what should show up in the browser... what is the proper output??? should it say "Transferring from 127.0.0.1" or should it show the original place where it got the video. If its showing the original place i suspect its not serving from the cache (even though for sure it is caching, i can see the videos in the /var/spool/videocache dirs.

admin's picture
Offline
Joined: Nov 2 2008

Hi!

Videocache sends a HTTP redirect to your clients with an alternate video link pointing to your own web server. Make sure that you are able to access http://cache_host_IP/videocache/ on your system and the other systems on your network. If not, your web server is not properly configured.

Also, if you are using videocache for a network of clients, 127.0.0.1 will not work at all. You'll have to listen on some IP address from private address space which other clients on your network can access.

Let me know your findings and I'll be able to help you further.

Thank You!

Offline
Joined: Dec 27 2010

Admin,

I got it working. Thanks.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 159 guests online.