Support for ticket #557

2018-06-12 Thread Jefferson Carpenter
Just want to show my support for allowing `autoindex` to include dotfiles (ticket #557). I am relatively new to nginx, and have been using it in increasingly large and complex capacities recently. Specifically, more than once I have now set up location blocks that basically enable directory

Using variable in vhost

2018-06-12 Thread Karl Johnson
Hello, I have a nginx multi-user setup that use the same fpm config for all vhost but each vhost has his own user so I had to set a variable in the vhost config to set the fastcgi_pass path in the included file. This way the vhost config is always clean. I've read somewhere that variable in vhost

Re: Secure Link Md5 with Primary and Secondary Secret

2018-06-12 Thread Francis Daly
On Tue, Jun 12, 2018 at 08:09:18AM -0400, anish10dec wrote: Hi there, > There is requirement for token authentication using two secret key i.e > primary and secondary secret for location block. If this is the same scenario as in https://forum.nginx.org/read.php?2,275668 and in https://forum.ngin

Re: Secure Link Md5 with Primary and Secondary Secret

2018-06-12 Thread anish10dec
Current Configuration secure_link $arg_token,$arg_expiry; secure_link_md5 "secret$arg_expiry"; if ($secure_link = "") {return 405;} if ($secure_link = "0"){return 410;} Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280125,280126#msg-280126 ___

Secure Link Md5 with Primary and Secondary Secret

2018-06-12 Thread anish10dec
There is requirement for token authentication using two secret key i.e primary and secondary secret for location block. If token with first secret gives 405, then to generate the token with second secret to allow the request. This is required for changing the Secret Key in production on server so

Re: rewrite question

2018-06-12 Thread shiz
'if ($args ~ "&$") { return 400; }' Thanks a lot! Exactly what I needed :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,94128,280124#msg-280124 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

2018-06-12 Thread Andrei
I ran both Varnish (for caching), Nginx (ssl offloading) for quite some time in production, but then switched to Nginx only. The main reasons being: - The sheer amount of added context switches (proxying was done local on a cPanel box, seeing 20-30k reqs/sec during peak hours) - Issues with managi