http://hg.nginx.org/nginx/rev/4dc8e7b62216by itpp2012 - How to...
Mostly by practice :) Just make a number of test location blocks and see which one works, then figure out a mapping to prevent using if's.by itpp2012 - How to...
$1 at least has a slash. map $request_uri $requri { default $request_uri; / ""; } [...] rewrite ^(\/.*) https://example.com/ar$requri permanent;by itpp2012 - How to...
http://stackoverflow.com/questions/18422092/how-to-remove-trailing-slash-from-url-in-nginx-only-if-directory-doesnt-exist www.nginxtips.com/nginx-remove-trailing-slash/by itpp2012 - How to...
This seems to work; location / { set $keepalive_timeout ''; root html; [...] set_by_lua $notused ' ngx.var.keepalive_timeout = ngx.var.kealtime; '; }by itpp2012 - How to...
Maybe Lua can do this, set_by_lua $notused ' ngx.var.keepalive_timeout = ngx.var.kealtime; '; https://github.com/chaoslawful/lua-nginx-moduleby itpp2012 - How to...
> But is it possible to use NGINX as a proxy server on localhost (on > windows). nginx can't do proxy like you want, for this you will need to use squid.by itpp2012 - How to...
This issue which can be found as; http://trac.nginx.org/nginx/ticket/714 http://trac.nginx.org/nginx/ticket/626 http://trac.nginx.org/nginx/ticket/346 Still exists in 1.7.12, 1.8 and 1.9 We've isolated this between SPDY and (file)caching such as fastcgi_cache and proxy_cache, where exactly is not yet known, should you have this issue either disable file caching or spdy. You often neeby itpp2012 - Nginx Mailing List - English
Something like; map $remote_addr $kealtime { default 30; ~^(192.168.123.*)$ 60; ~^(192.122.222.*)$ 0; } [...] keepalive_timeout $kealtime;by itpp2012 - How to...
Devika R. Wrote: ------------------------------------------------------- > I am getting following error in my nginx logs and I don't think its > related to the worker connections. I am on a windows 7 machine. > > I think the problem is to do with proxy. Any idea how to resolve this? > > ERROR LOG: > 2015/04/21 09:32:28 9304#11016: *41311 maximum number of > descby itpp2012 - Nginx Mailing List - English
Get the latest version here http://nginx-win.ecsds.eu/ Then look in the /conf/ folder at nginx-simple-WAF.conf on how to do this with map and using wildcards (regx).by itpp2012 - How to...
B.R. Wrote: ------------------------------------------------------- > nginx resolves names on start or reload. > The commercial version added a feature to update names periodically > (resolve > option of the server directive in the upstream module > <http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server>). > However, FOSS nginx is stuck with 'static' namby itpp2012 - Nginx Mailing List - English
Try, proxy_pass http://192.168.2.100:8080;by itpp2012 - How to...
It depends on what nagios wants but this module can deliver alot of realtime statistics: https://github.com/vozlt/nginx-module-vtsby itpp2012 - How to...
sip Wrote: ------------------------------------------------------- > how do i make /blog/ only use its own rules and ignore everything > else.? Have you tried a location block for /blog/ at a position before other blocks start handling things ?by itpp2012 - Nginx Mailing List - English
Try the mailing list http://forum.nginx.org/list.php?2by itpp2012 - How to...
17:02 14-4-2015 nginx 1.7.12.1 Lizard White Rabbit: We need a lazard with a liddle... a lad... can you help us? Bill: At your service, gov'nor. Dodo: Bill, my lad. Have you ever been down a chimney? Bill: Why, gov'nor, I've been down more chimneys... Dodo: Excellent, excellent. Now just hop down the chimney and pull that monster out of there. Bill: Righto, gov'nor... Monster? Aaaaah! Theby itpp2012 - Nginx Mailing List - English
jinwon42 Wrote: ------------------------------------------------------- > my site is vulnerable to the SSL FREAK attacks. > > ssl_protocols SSLv3 TLSv1; > ssl_ciphers AES256-SHA:HIGH:!EXPORT:!eNULL:!ADH:RC4+RSA; Try these; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:ECDH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!eNUby itpp2012 - Nginx Mailing List - English
Lua would be a way to go, ea. https://github.com/fanhattan/lua-resty-rate-limitby itpp2012 - Nginx Mailing List - English
Page 18 from nginx for Windows - documentation 1.3; map $request_uri $loggablevhts { default 1; /ngxvtstatus 0; # zero=do not log /vtsvalues.js 0; # zero=do not log /vtsvalues-eop.js 0; # zero=do not log /ngxvtstatus/format/json 0; # zero=do not log } map $remote_addr $lcladdrvhts { default 1; ~^(127.0.0.*)$ 0; # zero=do not log } # don't log vhts eby itpp2012 - Nginx Mailing List - English
knightpraetor Wrote: ------------------------------------------------------- > I still think it's a little strange that nginx used the calling folder > to determine its path though. Was that intended? Yes because it should not be hardcoded for any path, well the nginx one is sort of hardcoded, mine isn't.by itpp2012 - How to...
A bat file is not a service, srvany does this all including the communication Windows wants. https://www.google.nl/#q=srvany+source+codeby itpp2012 - How to...
Go to http://nginx-win.ecsds.eu/ and download Install_nginx_php_services.zip, read the scripts how this works.by itpp2012 - How to...
Cole Tierney Wrote: ------------------------------------------------------- > Or is there a better method to block these? Not really better but good enough :) map $http_referer $waffableref { default 0; ~*\{.*\:\; 1; } map $http_user_agent $waffableua { default 0; ~*\{.*\:\by itpp2012 - Nginx Mailing List - English
Only with Lua, https://github.com/chaoslawful/lua-nginx-module See also https://groups.google.com/forum/#!forum/openresty-enby itpp2012 - Other discussion
Peter Volkov Wrote: ------------------------------------------------------- > On Mon, Mar 30, 2015 at 8:45 PM, itpp2012 <nginx-forum@nginx.us> > wrote: > > > Peter Volkov Wrote: > > [...] > > root /tmp/test/; > > "/tmp/test/test/1.ts" -> 404 > > > > /tmp/test has follofing files: > > /tmp/test/dir2/test/1.ts - fileby itpp2012 - Nginx Mailing List - English
Peter Volkov Wrote: [...] root /tmp/test/; "/tmp/test/test/1.ts" -> 404 /tmp/test has follofing files: /tmp/test/dir2/test/1.ts - file /tmp/test/dir1/test - directory looks up /tmp/test/dir1/test/1.ts or if it not exist /tmp/test/dir2/test/1.ts file. [...] I think you first need to sort out WHERE stuff is (root+uri) as your 404 is valid against the other paths your havby itpp2012 - Nginx Mailing List - English
Did you restart nginx? it might be the upstream has marked your php backend as down during the update.by itpp2012 - Nginx Mailing List - English
Сделать пользователя на удаленном ресурс с достаточно прав с тем же паролем nginx использует. NAS: user1 / pass1 <=> nginx: user1 / pass1 (nginx работает как user1)by itpp2012 - Nginx Mailing List - Russian
pir8radio Wrote: ------------------------------------------------------- > itpp2012 Wrote: > > > Because the default nginx version(s) can't handle shared memory, > use > > this one http://nginx-win.ecsds.eu/ > > where such issue is solved. > > Thanks, I'll give it a try.. Just curious though if someone can make > a version that works, why doesn't NGby itpp2012 - How to...
![]() |
![]() |
![]() |
![]() |
|