Closed MadMage999 closed 6 years ago
youtube is https sorry.
@MadMage999 It's possible but a bit complicated and above nginx level.. Between couple options I created a nice option that is not a cache but more of a storage at: http://gogs.ngtech.co.il/elicro/youtube-store
Locally I am using it in a combination of Squid-Cache and an ICAP service which redirects to the local storage web page and the user can override it and get direct access to the original youtube page. Depends on your scenario you should choose the right option.
you could setup nginx with ssl but then you would need to install a cert on all the other clients devices.
@nexusofdoom nginx alone cannot cache youtube... it is a fact. If you can and it only a matter of certificate then I would like to see that but.. two seconds before just take a peek at:
I researched Google CDN systems in the last 8 years and you can try to google a bit and find an idea but non of these that I know of can be implemented using nginx alone and by url patterns alone. You will need to process specific content in a much higher level then nginx can do so..
https://aacable.files.wordpress.com/2012/08/youtube-cache.png https://aacable.wordpress.com/2012/08/13/youtube-caching-with-squid-nginx/
I have not done this now. but at one point I have used a setup like this.
its just not in my time to work on this.
What would be the process to add a new service to cache like youtube?