Syntax: gzip on | off; Default: gzip off; Context: http, server, location, if in location Is there an example of this "if in location" usage ?by itpp2012 - Nginx Mailing List - English
19:48 7-8-2014 nginx 1.7.5.1 WhiteRabbit Based on nginx 1.7.5 (7-8-2014, last changeset 5801:ab48149b77a6) with; + Openssl-1.0.1i (CVE-2014-3508, CVE-2014-5139, CVE-2014-3509, CVE-2014-3505, CVE-2014-3506, CVE-2014-3507, CVE-2014-3510, CVE-2014-3511, CVE-2014-3512) + lua-nginx-module v0.9.11 (upgraded 6-8-2014) + Source changes back ported + Source changes add-on's back ported + Chanby itpp2012 - Nginx Mailing List - English
c0nw0nk Wrote: ------------------------------------------------------- > Also itpp2012 i don't know if you remember from the last time we > talked but would it be better or any difference for you to compile a > 64bit Nginx instead of a 32bit ? For new items/issues please open a new topic. 64bit builds are still under investigation, a basic testbuild we've done last month did notby itpp2012 - Nginx Mailing List - English
B.R. Wrote: ------------------------------------------------------- > What is wrong in having configured: > > proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; > proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=two:10m; keys_zone is memory, the other a 'file' path, I could imagine a 'cachehash' used could overwrite the other.by itpp2012 - Nginx Mailing List - English
That post also mentions a 'fix', is this fix working or are you still having this problem ?by itpp2012 - Other discussion
Use 'map', ea: http://danconnor.com/post/4f65ea41daac4ed031000004/https_ssl_proxying_nginx_to_nginxby itpp2012 - Nginx Mailing List - English
> But for expensive image compression involved with relatively large > data volumn and CPU computation, it is better to be done in a > dedicated daemon process outside your online nginx server. Exactly, like I already wrote in http://forum.nginx.org/read.php?2,252064,252184#msg-252184by itpp2012 - Nginx Mailing List - English
tnx Maxim, I'm going to try to solve this with Lua.by itpp2012 - Nginx Mailing List - English
For example I have one fastcgi_pass location block and I want to process the return values of a request to use in a second fastcgi_pass, is this possible ? location ... { ... fastcgi_pass server1; # server1 returns some values # process these values and call another fastcgi_pass server if (!$valuechecked) { return 404; } fastcgi_pass server2; }by itpp2012 - Nginx Mailing List - English
The trick with pre-compressed files is to have a separate process doing the compression and doing a test inside nginx for the existence of this compressed file. Ea. if file.jpg.extracompressed exists then serve directly from filesystem else do something with zlib. Ea2. http://nginx.org/en/docs/http/ngx_http_gzip_static_module.html http://www.cambus.net/serving-precompressed-content-with-nby itpp2012 - Nginx Mailing List - English
c0nw0nk Wrote: ------------------------------------------------------- > I also noticed you added the PHP and Nginx User setups for security > would you also add a FTP / MySQL option even though it is easy for us > to just edit the vb scripts to suit our needs for other services but i > was just thinking for others.(Maybe they are lazy) The way we made those scripts show that aby itpp2012 - Nginx Mailing List - English
It was on the todo list, but its not that simple, for example: http://stackoverflow.com/questions/20376990/perl-cgi-vs-fastcgi http://forums.iis.net/t/1107796.aspx?FastCGI+Perl Basically you can take any fcgi wrapper, adjust some minor stuff for windows but you'd have to rewrite the socket part into a tcp port, just like php works. Or use a simple apache/modperl as (loadbalanced) backend(sby itpp2012 - Nginx Mailing List - English
22:40 26-7-2014 nginx 1.7.4.2 WhiteRabbit "I'm late! I'm late! For a very important date! No time to say hello, goodbye! I'm late! I'm late! I'm late!" The nginx WhiteRabbit release is here! Based on nginx 1.7.4 (25-7-2014, last changeset 5771:c3b08217f2a2) with; + See Install_nginx_php_services.zip on site ! + set-misc-nginx-module v0.24 (upgraded 26-7-2014) + echo-nginx-moduby itpp2012 - Nginx Mailing List - English
https://www.ruby-forum.com/topic/4418486by itpp2012 - How to...
Или использовать предварительной сборки версию http://nginx-win.ecsds.eu/by itpp2012 - Nginx Mailing List - Russian
shahzaib1232 Wrote: ------------------------------------------------------- > rewrite test.com back to test.com. You mentioned the solution > HTTP-EQUIV="REFRESH" . Is that fine to use this method also, could you > tell > me how to use it with origin ip in nginx ? So client will resend the > request to origin instead of edge. http://en.wikipedia.org/wiki/Meta_refrby itpp2012 - Nginx Mailing List - English
B.R. Wrote: ------------------------------------------------------- > > How? don't ask me :) > > > > Is there a legal problem doing that? Why the smiley? No :) I'd do it simple by using HTTP-EQUIV="REFRESH" as a response with an origin address.by itpp2012 - Nginx Mailing List - English
shahzaib1232 Wrote: ------------------------------------------------------- > Means, both server's i/o will be used if the requested file to > upstream is > 720p.mp4? Yes, what you're looking for is a way to client-rewrite the address the source is coming from. 1.2.3.4 -> request xx.mp4 -> edge 5.6.7.8 (I don't have that file) -> send client address of origin and tell cby itpp2012 - Nginx Mailing List - English
Maybe you should set location as fixed generic and then use root to change where ever it needs to, don't forget to tell php where stuff is if you change root.by itpp2012 - Nginx Mailing List - English
Enable debugging and check the logs, or add Lua and dump variables to see what value is doing what (this is how I debug a flow).by itpp2012 - Nginx Mailing List - English
Maybe not exactly what your looking for but should give enough to rewrite this for what you want with map. https://gist.github.com/anonymous/68caceb6c935e7120a60by itpp2012 - Nginx Mailing List - English
sladdi Wrote: ------------------------------------------------------- > 2) After moving or creating account we need to change nginx config or > add new one. Do nginx have subscriptions to fs or smthng like this to > avoid reloading? You can't avoid reloading config unless you use Lua and something like memcache from where stuff is 'reloaded', which is fine for generic stuff but notby itpp2012 - How to...
What does distributed storage solve in matters of reloading nginx'config ? Here's a topic that deals with frequent loading of a config portion: https://groups.google.com/forum/#!topic/openresty-en/G916sAMSOPYby itpp2012 - How to...
You can replace nginx.exe with nginx_basic.exe, if you require more like Lua you need nginx.exeby itpp2012 - How to...
13 nginx processes, well read this first http://nginx.org/en/docs/windows.html Then go to http://nginx-win.ecsds.eu/ and replace nginx with this version.by itpp2012 - How to...
These options: worker_processes auto; worker_connections 8096; worker_rlimit_nofile 100000; Don't do anything with the original nginx version, so which nginx version are you using ? When the website freezes what is process_explorer saying ?by itpp2012 - How to...
show us 'nginx -V ' and your nginx.confby itpp2012 - How to...
The sample conf has an events and http section, there is no jailtime for using your brain instead of just copy/pasting stuff.by itpp2012 - Migration from Other Servers
Take a look at the default example nginx.conf in the /conf folder.by itpp2012 - Migration from Other Servers
With pure Lua and no IF (crossposted in openresty group): location / { try_files $uri $uri/ =404; index index.html index.htm; } location ~ \.php$ { try_files $uri $uri/ =404; rewrite_by_lua ' local s = 0; local v = 0; local source_fname = ngx.var.document_root .. "/maintenance_mode.by itpp2012 - Nginx Mailing List - English