Thanks Igor,
I had explored that method already, sadly (as you know) "alias" is given
as an absolute path meaning I can't use this block of config within
multiple virtual hosts which I include; - would have to re-write this same
block of config for each Virtual host modifying the alias path pre
On 28 May 2014, at 03:52, Peter Mescalchin wrote:
> Hello Nginx developers,
>
>speaking to Maxim Konovalov over Twitter, suggested this would be the
> better place to get an answer to my suggestion.
>
> Basically what I would like to see is the ability to use a rewrite directive
> without
Thanks for the reply BR.
That's not quite what I'm after - "rewrite" does an internal redirect,
"return" will tell the browser to redirect. This recipe is all about
CSS/JS "cache busting" of requested assets.
Make sense?
> What about:
>
> location ~ "^/[a-f0-9]{16}/(css|js)/(.+)" {
>
>
What about:
location ~ "^/[a-f0-9]{16}/(css|js)/(.+)" {
expires 30d;
return $scheme://$host/$1/$2? break;
}
?
You could add the 301 code for permanent redirect, see
http://nginx.org/r/return
---
*B. R.*
On Wed, May 28, 2014 at 1:52 AM, Peter Mescalchin <
peter.mescalc...@gmail
Hello Nginx developers,
speaking to Maxim Konovalov over Twitter, suggested this would be the
better place to get an answer to my suggestion.
Basically what I would like to see is the ability to use a rewrite
directive without the need to capture the current URI, which in turn
overwrites $1,$2
On 27 May 2014 19:29, nginxsantos wrote:
> I am still not convinced that no one faced this problem earlier. When Nginx
> works as a reverse proxy, is everyone doing a SSL offload for the HTTPS
> traffic?
Yes, everyone is.
___
nginx mailing list
nginx@n
I am still not convinced that no one faced this problem earlier. When Nginx
works as a reverse proxy, is everyone doing a SSL offload for the HTTPS
traffic?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250329,250407#msg-250407
___
nginx mai
I am still not convinced that no one faced this problem earlier. When Nginx
works as a reverse proxy, is everyone doing a SSL offload for the HTTPS
traffic?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250329,250406#msg-250406
___
nginx mai
Hello Nginx users,
Now available: Nginx 1.7.1 for Windows http://goo.gl/FTllNE (32-bit and
64-bit versions)
These versions are to support legacy users who are already using Cygwin
based builds of Nginx. Officially supported native Windows binaries are at
nginx.org.
Announcements are also availab
Changes with nginx 1.7.1 27 May 2014
*) Feature: the "$upstream_cookie_..." variables.
*) Feature: the $ssl_client_fingerprint variable.
*) Feature: the "error_log" and "access_log" directives now support
logging to syslog.
*) Featu
Of course this will work but when nginx restarts or the cache gets
damaged/corrupted the whole shebang starts again And you can't control
the cached files versus try_files and a normal filesystem.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,249997,250395#msg-250395
_
Hello itpp,
the Local caching server is nothing but a proxy server which
will route all traffic from asia to origin server and will cache the
requested file in /data/nginx/cache folder. So when the request made again,
it'll be served from cache.
>>I'm not seeing where you determine if
I'm not seeing where you determine if a file is present on an edge system,
the try_files directive allows you to redirect or not (locally present or
not). I don't really see a point for using (proxy)cache, the file is present
or it is not.
location / {
try_files $uri @getfrom_origin;
}
location @
I would like to enable /123 location only for locahost, but it doesn't work,
nginx return 302 redirect with header. It seems rewrite directive has higher
priority than access module.
location /123 {
satisfy all;
allow 127.0.0.1/32;
denyall;
@itpp, thanks for reply. I am working on proxy_cache . My all webservers in
local ISP will be proxy servers and all requests regarding flv,mp4,jpeg
from asia will be route through the proxy servers and data will be cache in
proxy servers. I think, this will help me with caching. I am testing it on
I'd call that provisioning, a simple try_files directive can deal with that
while the provisioning service syncs.
http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files
Then jump left for cached contents or jump right for non-cached contents.
Posted at Nginx Forum:
http://forum.nginx.
Hello ,
Came after a long time to this thread. I have finished the caching
method. I've used bind-geoip to resolve all requests from asia against the
local ISP caching server ips. Now, here's the most critical part. Suppose a
request came from asia for the video file which is not yet downloade
17 matches
Mail list logo