Re: Nginx cache-control headers issue

2019-07-25 Thread Andrew Andonopoulos
To: nginx@nginx.org Subject: Re: Nginx cache-control headers issue On Sat, Jul 20, 2019 at 10:10:39AM +, Andrew Andonopoulos wrote: Hi there, > Also, I want to ask you, I saw that the last-modified header with token is > always: Last-Modified: Sun, 19 Nov 2000 08:52:00 GMT, but there is

Re: Nginx cache-control headers issue

2019-07-20 Thread Andrew Andonopoulos
ul 20, 2019 at 12:33:24AM +0000, Andrew Andonopoulos wrote: Hi there, > I checked multiple scenarios and when I removed the token I got the correct > header. Looks like when the token is active, I am getting wrong headers. There is lots going on in your config. I suggest it may be useful to

Re: Nginx cache-control headers issue

2019-07-19 Thread Andrew Andonopoulos
ader Cache-Control; proxy_ignore_headers Cache-Control; Thanks Andrew From: nginx on behalf of Andrew Andonopoulos Sent: Saturday, July 20, 2019 12:33 AM To: nginx@nginx.org Subject: Re: Nginx cache-control headers issue Hi Francis, Thanks for t

Re: Nginx cache-control headers issue

2019-07-19 Thread Andrew Andonopoulos
Hi Francis, Thanks for the response, I checked multiple scenarios and when I removed the token I got the correct header. Looks like when the token is active, I am getting wrong headers. Also "upstream" you mean the Origin for nginx? which is in my case is S3 For example, this is a token-based

Nginx cache-control headers issue

2019-07-18 Thread Andrew Andonopoulos
Hello, I have an nginx proxy which suddenly adding 2 cache-control headers and the last modified time is always the current time: curl -I https://example.com/hls/5d15498d3b4e13.57348983/1280_720_3200_5d15498d3b4e13.57348983.m3u8?token=st=1563488654~exp=1563575054~acl=/hls/5d15498d3b4e13.5734898

Nginx cache-control headers issue

2019-07-18 Thread Andrew Andonopoulos
Hello, I have an nginx proxy which suddenly adding 2 cache-control headers and the last modified time is always the current time: curl -I https://example.com/hls/5d15498d3b4e13.57348983/1280_720_3200_5d15498d3b4e13.57348983.m3u8?token=st=1563488654~exp=1563575054~acl=/hls/5d15498d3b4e13.5734898

Re: Nginx 1.17.0 doesn't change the content-type header

2019-07-03 Thread Andrew Andonopoulos
Thanks Francis, will modify the upstream server From: nginx on behalf of Francis Daly Sent: Wednesday, July 3, 2019 12:22 PM To: nginx@nginx.org Subject: Re: Nginx 1.17.0 doesn't change the content-type header On Wed, Jul 03, 2019 at 06:17:46AM +0000, A

Re: Nginx 1.17.0 doesn't change the content-type header

2019-07-02 Thread Andrew Andonopoulos
der Hello! On Sat, Jun 29, 2019 at 10:49:00PM +, Andrew Andonopoulos wrote: > I have the following config in the http: > > include mime.types; > default_type application/octet-stream; > > > also i have this in the location: > > types { > applica

Nginx 1.17.0 doesn't change the content-type header

2019-06-29 Thread Andrew Andonopoulos
Hello, I have the following config in the http: include mime.types; default_type application/octet-stream; also i have this in the location: types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; } But when i send a request, i am getting these

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Andrew Andonopoulos
ure Link Module in NGINX On Mon, Jun 17, 2019 at 01:34:33PM +, Andrew Andonopoulos wrote: Hi there, > The idea of moving MD5 and Time after the first directory is good. > So with this option i will not have to worry modifying the manifests. Correct. Since the manifests refer to "

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Andrew Andonopoulos
Andrew From: nginx on behalf of Francis Daly Sent: Monday, June 17, 2019 11:39 AM To: nginx@nginx.org Subject: Re: Securing URLs with the Secure Link Module in NGINX On Mon, Jun 17, 2019 at 08:17:51AM +, Andrew Andonopoulos wrote: Hi there, > I would lik

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Andrew Andonopoulos
also i don't have Akamai CDN behind nginx. Can i use this module without using other CDN ? Thanks Andrew From: Andrew Andonopoulos Sent: Monday, June 17, 2019 12:25 PM To: nginx@nginx.org Subject: Re: Securing URLs with the Secure Link Module in NGINX Hi

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Andrew Andonopoulos
use $uri to calculate secure link) (1): https://github.com/kaltura/nginx-secure-token-module On Jun 17, 2019, at 3:17 PM, Andrew Andonopoulos mailto:andre8...@hotmail.com>> wrote: Hi Francis and thank you for your quick response / support. Now is more clear how locations and secur

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Andrew Andonopoulos
40 AM To: nginx@nginx.org Subject: Re: Securing URLs with the Secure Link Module in NGINX On Sat, Jun 15, 2019 at 06:08:07PM +0000, Andrew Andonopoulos wrote: Hi there, > In my case the player will request the m3u8 URL: > > https:///hls/justin-timberlake-encrypted/pla

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-15 Thread Andrew Andonopoulos
rew From: nginx on behalf of Francis Daly Sent: Sunday, June 9, 2019 8:15 AM To: nginx@nginx.org Subject: Re: Securing URLs with the Secure Link Module in NGINX On Sat, Jun 08, 2019 at 02:44:22PM +, Andrew Andonopoulos wrote: Hi there, > Thanks for

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-08 Thread Andrew Andonopoulos
URLs with the Secure Link Module in NGINX On Fri, Jun 07, 2019 at 09:51:49PM +, Andrew Andonopoulos wrote: Hi there, thanks for the fuller details. I think it makes it clear what is happening. > and this command to generate the md5: > > echo -n 'enigma/hls/justin-timberlake/play

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-07 Thread Andrew Andonopoulos
erlake/Justin_Timberlake_640_360_600.m3u8 Request Method: GET Status Code: 403 Forbidden Thanks Andrew From: nginx on behalf of Francis Daly Sent: Friday, June 7, 2019 8:59 PM To: nginx@nginx.org Subject: Re: Securing URLs with the Secure Link Module in NGINX O

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-07 Thread Andrew Andonopoulos
} # redirect server error pages to the static page /50x.html error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/local/www/nginx-dist; } } } Thanks Andrew From: nginx on behalf of

Securing URLs with the Secure Link Module in NGINX

2019-06-06 Thread Andrew Andonopoulos
Hello, I have a project to build a caching server for HLS with nginx which is using S3 as an origin. I completed this task and everything is working as expected. Now the next task is to use secure link to secure m3u8 and ts files. I used the instructions from this URL but i was getting 403 for