Unit 1.5 release

2018-10-25 Thread Valentin V. Bartenev
cing "last message send failed: Resource temporarily unavailable" alerts in log; the bug had appeared in 1.4. *) Bugfix: Go applications didn't work when Unit was built with musl C library. wbr, Valentin V. Bartenev ___ ngin

Re: Variable scope in javascript module

2018-10-30 Thread Valentin V. Bartenev
e. > [..] njs implements "strict mode" of JS: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode It's said in the beginning of documentation: http://nginx.org/en/docs/njs/ wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Variable scope in javascript module

2018-10-30 Thread Valentin V. Bartenev
re run in parallel: http://nginx.org/en/docs/njs/examples.html#fast_response If you want to schedule the second subrequest only after the first one is finished, then simply put your second subrequest call inside the done callback of the first one. wbr, Va

Re: Variable scope in javascript module

2018-10-30 Thread Valentin V. Bartenev
if (n == svcs.length) { r.return(403); return; } r.subrequest("/" + svcs[n++], '', done); } callNextService(); } wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.6 release

2018-11-15 Thread Valentin V. Bartenev
of pool" alerts might have appeared in log. *) Bugfix: module discovery didn't work on 64-bit big-endian systems like IBM/S390x. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: njs and subrequests

2018-11-17 Thread Valentin V. Bartenev
rnal_ resources. The js module just provides you an API for this mechanism to make ssi-like subrequests. You're looking for a different thing, in fact you need an http client in the js module to request external resources. That's not something provided right now, but will be nice to have

Re: njs and subrequests

2018-11-22 Thread Valentin V. Bartenev
ke a look at the existing njs modules for nginx: http://hg.nginx.org/njs/file/tip/nginx wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to build NodeJS support without an Internet connection?

2018-12-09 Thread Valentin V. Bartenev
l, especially for Gentoo. I think you can just remove it. See also this overlay for some ideas: https://github.com/msva/mva-overlay/tree/master/www-servers/nginx-unit wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to build NodeJS support without an Internet connection?

2018-12-12 Thread Valentin V. Bartenev
On Sunday 09 December 2018 21:14:14 Valentin V. Bartenev wrote: > On Sunday, 9 December 2018 16:41:56 MSK Ralph Seichter wrote: > > Hello developer team. > > > > I am the maintainer of the NGINX Unit ebuild for Gentoo Linux, and > > currently I am struggling with colli

Re: How to build NodeJS support without an Internet connection?

2018-12-12 Thread Valentin V. Bartenev
On Wednesday 12 December 2018 19:11:59 Ralph Seichter wrote: > * Valentin V. Bartenev: > > > http://hg.nginx.org/unit/rev/fd323ad9e24f > > That looks promising, Valentin. I'll try a build as soon as I'm able > to. Would you perhaps consider releasing this as

Unit 1.7 release

2018-12-20 Thread Valentin V. Bartenev
://github.com/mar0x/unit , so everybody willing to run their Java applications on Unit can participate. Many other good things and announcements about Unit will surely happen in 2019. Thank you for staying with us, and all the best. wbr, Valentin V. Bartenev __

Unit 1.7.1 release

2019-02-07 Thread Valentin V. Bartenev
bug had appeared in 1.7. Release of Unit 1.8 with support for internal request routing and an experimental Java module is planned for end of February. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

Unit security advisory (CVE-2019-7401)

2019-02-07 Thread Valentin V. Bartenev
affects Unit 0.3 - 1.7. The issue is fixed in Unit 1.7.1. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.8.0 release

2019-03-01 Thread Valentin V. Bartenev
ia assets. Stay tuned, give feedback, and help us to create the best software ever. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.9.0 release

2019-05-30 Thread Valentin V. Bartenev
it more time. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.10.0 release

2019-08-22 Thread Valentin V. Bartenev
ish the first round of adding basic support for serving static media assets and proxying in Unit. Stay tuned! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.11.0 release

2019-09-19 Thread Valentin V. Bartenev
ocket server implementation for Java Servlet Containers. *) Feature: direct addressing of API configuration options containing slashes "/" using URI encoding (%2F). *) Bugfix: segmentation fault might have occurred in Go applications under high load. *) Bugfix:

Unit 1.12.0 release

2019-10-03 Thread Valentin V. Bartenev
ation wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.13.0 release

2019-11-14 Thread Valentin V. Bartenev
t mailing list: - https://mailman.nginx.org/mailman/listinfo/unit wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Reply to a thread

2019-11-15 Thread Valentin V. Bartenev
on, please? > Why is it so hard to reply to a post? > > Thanks. > The digest mode in mailing lists is usually suited only if you want to receive "latest news" and don't want to participate in discussions. Otherwise you should subscribe in normal mode. wbr, Valen

Unit 1.14.0 release

2019-12-27 Thread Valentin V. Bartenev
epared Docker images and packages - Maxim Romanov - senior developer, who worked on Java, WebSockets, and internal IPC - Tiago Natel de Moura - senior developer, who worked on isolation features Thank you guys, I'm happy to work with you. wbr, Valentin V. Bartene

Unit 1.15.0 release

2020-02-06 Thread Valentin V. Bartenev
quot;try_files"-like functionality for more sophisticated request routing. Stay tuned! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.16.0 release

2020-03-12 Thread Valentin V. Bartenev
*) Bugfix: compatibility issues with some Python applications. To keep the finger on the pulse, see our further plans in the roadmap here: - https://github.com/orgs/nginx/projects/1 Also, good news for macOS users! Now, there's a Homebrew tap for Unit: - https://unit.nginx.org/installation/#homebrew Stay healthy! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.17.0 release

2020-04-16 Thread Valentin V. Bartenev
applications. *) Bugfix: broken build on DragonFly BSD; the bug had appeared in 1.16.0. Please also see a blog post about the new features of our two previous releases: - https://www.nginx.com/blog/nginx-unit-1-16-0-now-available/ To keep the finger on the pulse, refer to our further plans in the roadmap here: - https://github.com/orgs/nginx/projects/1 Stay healthy, stay home! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.18.0 release

2020-05-28 Thread Valentin V. Bartenev
quests between them using various sophisticated request matching rules. Check our website to know more about the new option: - https://unit.nginx.org/configuration/#targets To learn more about request matching rules: - https://unit.nginx.org/configuration/#condition-matching

Unit 1.19.0 release

2020-08-13 Thread Valentin V. Bartenev
Isolation in NGINX Unit https://www.nginx.com/blog/filesystem-isolation-nginx-unit/ Stay tuned! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.20.0 release

2020-10-08 Thread Valentin V. Bartenev
route matching patterns to support regular expressions; working on keepalive connection caching; adding multithreading to application modules; and finally, fabricating the metrics API! We encourage you to follow our roadmap on GitHub, where your ideas and requests are always m

NGINX Unit team is hiring C devs

2020-10-21 Thread Valentin V. Bartenev
s.com/NGINX/job/Cork-NGINX/Software-Engineer_RP1018735 More information about the project: https://unit.nginx.org/ wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.21.0 release

2020-11-19 Thread Valentin V. Bartenev
//www.freshports.org/www/unit/ We encourage you to follow our roadmap on GitHub, where your ideas and requests are always more than welcome: - https://github.com/orgs/nginx/projects/1 Stay tuned! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.22.0 release

2021-02-04 Thread Valentin V. Bartenev
mprovements to process isolation. As always, we encourage you to follow our roadmap on GitHub, where your ideas and requests are more than welcome: - https://github.com/orgs/nginx/projects/1 Stay tuned! wbr, Valentin V. Bartenev ___ nginx maili

Unit 1.23.0 release

2021-03-25 Thread Valentin V. Bartenev
fun videos instead of reading tedious documentation, I'm happy to recommend Timo Stark, our own PM Engineer. Recently, he started regularly streaming on Twitch and YouTube: - https://www.twitch.tv/h30ne - https://www.youtube.com/Tippexs91 Tomorrow (March 26), at 10 p.

Unit 1.24.0 release

2021-05-27 Thread Valentin V. Bartenev
;auto_globals_jit" option enabled. That's all for today, but even more exciting features are poised for the upcoming releases: - statistics API - process control API - variables from regexp captures in the "match" object - simple re

Unit 1.25.0 release

2021-08-19 Thread Valentin V. Bartenev
ites using variables - More variables to access request and connection information - A statistics API - Unit CLI utility tool - App prototype processes to reduce memory usage, share the PHP opcache, and improve the handling of apps isolation - njs integration (https://nginx.org/en/docs/njs/index.html) - .NET Core language module prototype Some of them bound to appear in the next release. Stay tuned! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.26.0 release

2021-11-19 Thread Valentin V. Bartenev
en reconfigured. *) Bugfix: fixed building with glibc 2.34, notably Fedora 35. Other major features that we are preparing for the next release include: - basic statistics API for monitoring Unit instances - various variables for different aspects of request and connection data - customization of access log format with variables - custom variables out of regexp captures on various request parameters - simple request rewrite using variables - command-line tool to simplify the use of Unit's control socket API There probably will be even more. To participate, share your ideas, or discuss new features, you're welcome to visit Unit's issue tracker on GitHub: - https://github.com/nginx/unit/issues Stay tuned! wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Unit 1.26.1 release

2021-12-02 Thread Valentin V. Bartenev
https://mailman.nginx.org/pipermail/unit/2021-November/000288.html Thank you again for keeping your finger on the pulse, reporting issues and submitting feature requests via our GitHub issue tracker: - https://github.com/nginx/unit/issues Stay tuned!

Re: nginx core dump explodes

2016-06-22 Thread Valentin V. Bartenev
onnection till it has lost. You can upload your log to any file sharing service like Google Drive and post a link here. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx core dump explodes

2016-06-22 Thread Valentin V. Bartenev
On Wednesday 22 June 2016 14:50:27 martinproinity wrote: > Here you go: https://tempfile.me/dl/ES9tWLqjnFozdx/ > > Thanks! > Please try the patch: http://pp.nginx.com/vbart/patches/http2_fix.txt wbr, Valentin V. Bartenev ___ nginx

Re: Enable HTTP2 in one of several name-based servers

2016-06-22 Thread Valentin V. Bartenev
On Wednesday 22 June 2016 18:32:47 Marcelo MD wrote: > Hi, > > Is it possible to enable http2 in only one of several name-based servers? > [..] No, it's not possible. wbr, Valentin V. Bartenev ___ nginx mailing list ngi

Re: Enable HTTP2 in one of several name-based servers

2016-06-23 Thread Valentin V. Bartenev
On Thursday 23 June 2016 04:35:45 itpp2012 wrote: > Valentin V. Bartenev Wrote: > --- > > > Is it possible to enable http2 in only one of several name-based > > servers? > > > > > [..] > > > > No

Re: udp balancing

2016-06-23 Thread Valentin V. Bartenev
ing the same connection. > Right. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx core dump explodes

2016-06-23 Thread Valentin V. Bartenev
there other known cases that can cause open socket leaks? I've seen in the log at least two problems: 1. The HEADERS frame was produced for already canceled stream (and the patch in the previous message fixes this particular problem by adding a corresponding check into the relevant place). 2. A connection can be left without any timeouts set if there's data buffered in the SSL buffer. Since there can be other cases that will lead to such situation, it should be fixed by another patch: http://pp.nginx.com/vbart/patches/http2_fix2.txt wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx core dump explodes

2016-06-23 Thread Valentin V. Bartenev
grated in the next release 1.11.2? > [..] Not sure about 1.11.2, since the patches need to pass the review process first, but I'll do my best to fix it soon. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx and http/2

2016-06-26 Thread Valentin V. Bartenev
I didn't see a solution. This > sounds like an interoperability issue but I'd be shocked if I'm the first > one to find something like that. > [..] You're not the first one, so the problem was resolved by this change: http://hg.nginx.org/nginx/rev/ce94f07d5082 (nginx

Re: nginx and http/2

2016-06-27 Thread Valentin V. Bartenev
quot;; > > And my curl is: curl 7.49.1 (x86_64-pc-linux-gnu) libcurl/7.49.1 > OpenSSL/1.0.2h nghttp2/1.11.1 > [..] Why don't you just install nginx 1.11? wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Optimization flags

2016-07-08 Thread Valentin V. Bartenev
clang? If so, should I symlink it to gcc > (I use Docker, this way gcc executable is trashed) or is there a way to > define the compiler with a flag? --with-cc= wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx $upstream_cache_status not available when used in rate limiting

2016-07-20 Thread Valentin V. Bartenev
isn't what you're asking about, it can significantly reduce number of requests that reaches your upstream server. http://nginx.org/r/proxy_cache_lock wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: [nginx-announce] nginx-1.11.3

2016-07-26 Thread Valentin V. Bartenev
On Tuesday 26 July 2016 11:15:52 Kevin Worthington wrote: > Hello! > > When building on Cygwin on Windows 7, using the --with-stream flag, it > fails. [..] See: https://trac.nginx.org/nginx/ticket/1032 wbr, Valentin V. Bartenev ___ n

Re: Hierarchy of malformed requests and blocked IPs

2016-07-30 Thread Valentin V. Bartenev
"my blocked list". But if you're speaking about "ngx_http_access_module" then the answer is no, it shouldn't take precedence. It works on a location basis, which implies that the request has been parsed already. wbr, Valentin V. Bartenev

Re: Hierarchy of malformed requests and blocked IPs

2016-07-30 Thread Valentin V. Bartenev
On Saturday 30 July 2016 10:52:46 li...@lazygranch.com wrote: > On Sat, 30 Jul 2016 13:18:47 +0300 > "Valentin V. Bartenev" wrote: > > > On Friday 29 July 2016 23:01:05 li...@lazygranch.com wrote: > > > I see a fair amount of hacking attempts in the access.log

Re: Nginx Caching Error Response Code like 400 , 500 , 503 ,etc

2016-08-07 Thread Valentin V. Bartenev
g time using the directive. The "200, 301 & 302" codes are mentioned in the "proxy_cache_valid" directive when only the "time" parameter is specified. http://nginx.org/r/proxy_cache_valid wbr, Valentin V. Bartenev

Re: Gzip issue with Safari

2016-08-09 Thread Valentin V. Bartenev
nsion-to-gz [..] That doesn't make any sense. The gzip static module doesn't need ".gz" in the requests, it just checks files on the disk and serve them as the response like they were compressed on the fly. wbr, Valentin V. Bartenev __

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread Valentin V. Bartenev
On Sunday 14 August 2016 04:11:43 itpp2012 wrote: > When compressing (nginx) an already compressed stream (backend) that stream > usually gets bigger. > nginx doesn't use compression for already compressed responses. wbr, Valent

Re: 413 Request Entity Too Large

2016-08-14 Thread Valentin V. Bartenev
ower than on your backend server. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: proxy_cache:Why Receive >Transmit?

2016-08-14 Thread Valentin V. Bartenev
g the data are receiving and transmitting at the same time. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP/2 without forward secrecy (Diffie-Hellman)

2016-08-15 Thread Valentin V. Bartenev
on what could be the problem? > Nginx doesn't do anything special related to ciphers and HTTP/2. The difference probably caused by different OpenSSL versions, or different clients used in these cases. wbr, Valentin V. Bartenev ___ nginx maili

Re: HTTP/2 without forward secrecy (Diffie-Hellman)

2016-08-16 Thread Valentin V. Bartenev
On Tuesday 16 August 2016 15:55:13 B.R. wrote: [..] > nginx has made the choice​ of strictly following RFC advice [..] This is a false statement, nginx doesn't do any restriction regarding HTTP/2 and TLS ciphers configuration. wbr, Valentin V.

Re: Slow read attack in HTTP/2

2016-08-19 Thread Valentin V. Bartenev
] Each stream has its own timeout configured by the directives mentioned above. If there's no progress on a stream during one of these timeouts then the stream is closed. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: AW: AW: AW: Disabling HTTP/2 for a specific location

2016-08-19 Thread Valentin V. Bartenev
om/public_html/www; > rewrite ^ /upload.php last; > } > > } [..] There's no location to handle your "/upload.php". wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Can nginx has the capability to dynamically limit the connections when the upstream server has full load

2016-08-19 Thread Valentin V. Bartenev
done this way? If your server doesn't want to accept new connections, then why it doesn't just reject them with some error code? The commercial version of nginx is able to query such kind of URL. See for details: http://nginx.org/r/health_check wbr, Valentin V. Bartenev ___

Re: Slow read attack in HTTP/2

2016-08-22 Thread Valentin V. Bartenev
haust any initial window and then stop sending or receiving. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: No HTTPS on nginx.org by default

2016-08-22 Thread Valentin V. Bartenev
ssl.org that way. How I supposed to use Internet then? wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: NGINX to support websocket client on the same port

2016-08-31 Thread Valentin V. Bartenev
ection with the external websocket server? > [..] Yes, you can. http://nginx.org/en/docs/http/websocket.html wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: log status actually not real status

2016-08-31 Thread Valentin V. Bartenev
On Wednesday 31 August 2016 04:30:51 crasyangel wrote: > Nginx would log status to 200 after response header had sent when upstream > prematurely closed connection > I think nginx should log status to 502, even though client recv 200 [..] Why do you think so? wbr, Valentin V.

Re: Nginx multiple upstream map conditions

2016-08-31 Thread Valentin V. Bartenev
and to be added in > only when conditions are met. "add_header" > > > Thanks in advance to anyone who can help me out :D > [..] map $upstream_cookie_logged_in $upstream_md5_value { 1 $upstream_http_set_cookie; } add_header Set-Cookie $upstream_md5_value; wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginScript + nginx 1.11.4, js_run unknown directive ?

2016-09-13 Thread Valentin V. Bartenev
ll > correctly ? [..] There's no "js_run" directive. Check the README. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to disable request pipelining on nginx upstream

2016-09-18 Thread Valentin V. Bartenev
ore the current one is completely done (by done I mean the > complete Content-Length is transferred to the client side)? > No, it's not possible. As already were said twice, nginx dosn't support pipelining on the upstream side. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Inquiry regarding support for OpenSSL 1.0.2i

2016-09-28 Thread Valentin V. Bartenev
0.1 would support OpenSSL 1.0.2i. Has anyone > tried this approach before ? > http://mailman.nginx.org/pipermail/nginx/2016-September/051914.html wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx multiprocess on Windows

2016-09-29 Thread Valentin V. Bartenev
s idle (cpu usage is zero). > Why ? is it some kind of limit for nginx on Windows ? Many thanks !!! http://nginx.org/en/docs/windows.html#known_issues wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: proxying to upstream port based on scheme

2016-10-05 Thread Valentin V. Bartenev
nefficient (if-being evil) than > hard-coding the port and having two different server{} blocks for http and > https . > [..] Why don't use map? map $scheme $port { http ; https 4430; } proxy_pass $scheme://127.0.0.1:$port; wbr, Valentin V. Bartenev

Re: 5s hangs with http2 and variable-based proxy_pass

2016-10-10 Thread Valentin V. Bartenev
ny public DNS in the resolver directive: http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver | To prevent DNS spoofing, it is recommended configuring DNS servers in a properly | secured trusted local network. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: invalid url - my config or invalid request?

2016-10-10 Thread Valentin V. Bartenev
r: amfes.com, request: "HEAD / HTTP/1.0" > > Clients I control have no problem reaching the root or the robots.txt > file - so what is this telling me? > The official nginx build cannot produce such messages. They likely come from 3rd-party module or patches you're usi

Re: Does http pipeline prevent nginx from graceful shutdown active connections?

2016-10-25 Thread Valentin V. Bartenev
I was wondering if this is a problem for pipelined HTTP > requests. No, there's no such problem with pipelined requests. Pipelined requests are processed sequentially one by one, nginx quits before starting processing the next request. wbr, Valentin V. Bartenev _

Re: Upstream server error

2016-10-26 Thread Valentin V. Bartenev
504 /404.html; > location = /404.html { > root error; > } > > } > > } > > Any idea's on how to catch requests to the upstream server? > [..] The configuration above doesn't look like a valid one due to invalid "add_header" directive. Your nginx cannot load it. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: how to read $body_bytes_sent nginx variable

2016-11-22 Thread Valentin V. Bartenev
On Tuesday 22 November 2016 08:02:37 Phani Sreenivasa Prasad wrote: > Hi > > So, how can I read this value from my fastcgi app for each request/response? > [..] You can read it from the access_log file. wbr, Valentin V. Bartenev ___ n

Re: how to read $body_bytes_sent nginx variable

2016-11-22 Thread Valentin V. Bartenev
ter sending the response. > > Any solution for this? > That's how the FastCGI protocol works. -- wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Performance test caps at 600 Mbit/s

2017-01-09 Thread Valentin V. Bartenev
use all cpu cores and disable accept_mutex. You can find more information in this talk: https://www.youtube.com/watch?v=eLW_NSuwYU0 wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Questions about root and alias directives

2017-01-20 Thread Valentin V. Bartenev
not seem to have any effect. (Why is that so?) > [..] The answer to your question is likely in the parts of the configuration that you've skipped. Please note, that the "index" directive produces internal redirects. In the second case, it looks like your request is redirected t

Re: Limit number of connections to server

2017-04-04 Thread Valentin V. Bartenev
exceeded. It would possibly > save some CPU cycles needed to handle SSL handshake, etc. > > Is it possible? > You should use system firewall. Most of *nix systems have one out of the box. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Memory issue

2017-04-06 Thread Valentin V. Bartenev
trol.html#logs wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP/2 on the Upstream

2017-04-12 Thread Valentin V. Bartenev
> I really think that nginx should reconsider its position on this matter. > > In the meantime, where can I find documentation on how to configure > proxy_pass to use HTTP/2? > There's no such documentation since HTTP/2 isn't supported by the proxy module. wbr, Valenti

Re: nginx binaries with auth_request module

2017-05-17 Thread Valentin V. Bartenev
t; > Thanks. > http://nginx.org/en/linux_packages.html wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Invalid HTTP_IF_NONE_MATCH request header

2017-06-15 Thread Valentin V. Bartenev
header presents in request). See the "Parameters Passed to a FastCGI Server" paragraph here: http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#parameters wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Measuring nginx's efficiency

2017-06-29 Thread Valentin V. Bartenev
How do I measure its performance and compare it to that > of apache? Which tools would you recommend? > > Thank you in advance! > I suggest wrk. https://github.com/wg/wrk wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org

Re: Measuring nginx's efficiency

2017-06-29 Thread Valentin V. Bartenev
On Thursday 29 June 2017 15:32:21 ST wrote: > On Thu, 2017-06-29 at 15:09 +0300, Valentin V. Bartenev wrote: > > On Thursday 29 June 2017 14:00:37 ST wrote: > > > Hello, > > > > > > with your help I managed to configure nginx and our website now can be >

Re: ngx_http_sub_module causes requests to hang on a simple match.

2017-07-02 Thread Valentin V. Bartenev
> Thanks! > This is very old version of nginx. First of all, you should update up to the supported version. There are a bunch of bugs have been fixed. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Buffering issues with nginx

2017-07-21 Thread Valentin V. Bartenev
immediately to write socket buffer in kernel for client connection. 4. Write socket buffer in kernel for client connection where nginx writes data. 5. Read socket buffer in kernel for client connection from what wget reads data. wbr, Valentin V. Bartenev __

Re: Buffering issues with nginx

2017-07-21 Thread Valentin V. Bartenev
ds up buffering 12.5MB data? > You should check tcpdump (or wireshark) to see where actually 12.5MB of data have been stuck. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Buffering issues with nginx

2017-07-30 Thread Valentin V. Bartenev
BUF options are inherited from the listening socket. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: ERR_SPDY_PROTOCOL_ERROR Nginx !!

2017-08-02 Thread Valentin V. Bartenev
supported version. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP/405

2017-08-04 Thread Valentin V. Bartenev
> nginx doesn't seem to have Allow header field. Is that against RFC? > Please, look at the explanations in https://trac.nginx.org/nginx/ticket/1161 wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP/405

2017-08-04 Thread Valentin V. Bartenev
x27;s definitely not the goal you should achieve by any price. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP/405

2017-08-07 Thread Valentin V. Bartenev
lue. [..] The fix for RFC would be to allow 405 without "Allow" header. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP2 DATA frames with 0 length

2017-09-01 Thread Valentin V. Bartenev
es, modules, filter modules, and so on. The HTTP/2 module works quite straightforward, if it sees the end of buffer chain in nginx, it adds the END_STREAM flag. Otherwise, it doesn't. So, whether you see END_STREAM in a separate DATA frame or not depends on many factors and your con

Re: auth_request called multiple times for same single request

2017-09-25 Thread Valentin V. Bartenev
@16 2017/09/21 12:09:31 [debug] 22090#0: *60 event timer del: 22: 1505995796403 2017/09/21 12:09:31 [debug] 22090#0: *60 http process request line Here's a new request received in different connection #60. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: auth_request called multiple times for same single request

2017-09-25 Thread Valentin V. Bartenev
On Monday 25 September 2017 22:14:04 Valentin V. Bartenev wrote: > On Monday 25 September 2017 07:17:08 garyc wrote: > > Apologies, I posted this issue to the wrong list (php-fpm), the link is: > > > > > https://forum.nginx.org/read.php?3,276451,276475#msg-276475 > &

Re: auth_request called multiple times for same single request

2017-09-26 Thread Valentin V. Bartenev
you to use tcpdump for investigation and something simple, like curl as a client. The network debug window in chrome is a toy that doesn't show you real picture. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: auth_request called multiple times for same single request

2017-09-27 Thread Valentin V. Bartenev
that we had to add in order to support Chrome: http://hg.nginx.org/nginx/rev/8df664ebe037 wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx CPU Issue : Remain at 100%

2017-09-29 Thread Valentin V. Bartenev
e, but it > did not helped. > > Any suggestion in this regards will help. > > *Version:* nginx-1.10.1-1.el6 > [..] First of all, you should update nginx to an actual and supported version: 1.13.5 or 1.12.1. There's a big chance that your problem was alrea

Re: limit_conn is dropping valid connections and causing memory leaks on nginx reload

2017-10-02 Thread Valentin V. Bartenev
ndering if anyone > could explain why it is happening or has a similar problem. > > Thank you! > Have you checked error log? wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: [alert] epoll_ctl(1, 575) failed (17: File exists)

2017-10-11 Thread Valentin V. Bartenev
Despite the alerts, the access log shows the clients with a 101 status code. > > Any idea if this is something on my end I should start looking at, or is > this a possible issue with http2 and websockets? > [..] Websockets cannot work over HTTP/2. wbr, Valentin V. Bartenev ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

  1   2   3   4   5   6   >