SEO gone mad... (23 replies)
Hi folks,I have a requirement from a customer that the terminal slash berewritten when accessing the homepage - eg example.com/ is a 301 toexample.comI've tried a simple rewrite of ^/$ but that just...
View Article1.9.5 slower then 1.9.4 or 1.8.0 on static files (7 replies)
I just migrated a new customer to nginx/php-fpm and notice a considerable delay with requests.nginx Version 1.9.5 compiled from rpm with http/2hosting: linodeVirtualizer: KVMI noticed that the site was...
View ArticleAnyone know how the least_conn upstream option works in nginx plus? (2 replies)
Hello,Anyone know how the least_conn upstream option works in nginx plus?http://nginx.org/en/docs/http/ngx_http_upstream_module.html#least_connsays"Specifies that a group should use a load balancing...
View Article[ANN] Windows nginx 1.9.6.1 Kitty (no replies)
11:04 1-10-2015 nginx 1.9.6.1 KittyWhats small and slender red and peach, blue eyes, white face withwhiskers, pink bow ? She ain't really that nice, she ain't evenpretty but she gets the job done so...
View ArticleNginx realip vs proxypass (1 reply)
Hi Allwe're testing a new nginx implementation to put in front our webapplication to retrieve the X-Forwarded-For header sent by an externalreverse proxy and configure it as realip address of the...
View ArticleCustom error pages and access_log inheritance (1 reply)
Hi,i was wondering if it is possible to have custom error pages *without* the error page locations inheriting the http or server level access_log directives. Please consider the following...
View ArticleHow does nginx weighting work? (1 reply)
upstream myCloud{server 10.0.0.1 weight=10;server 10.0.0.2 weight=20;}For 30 sequential requests,will it work likeA.10.0.0.1 10.0.0.2 10.0.0.2 -> 10.0.0.1 10.0.0.2 10.0.0.2 -> ... total 10 times...
View Articleupstream, next node when node returns busy (no replies)
Any ideas how to implement the following?Upstream pool of 4 nodesNode1Node2Node3Node4Proxy_pass upstreamIf node in upstream returns a 501 move request to next node in upstream but don’t mark it as down...
View ArticleHttp2 not getting enable (8 replies)
None of the only http2 indicators are able to detect http2 although i have it enableWebsite Link : https://www.onestopmarketing.clubFull Nginx Config : http://pastebin.com/ScGmZNwXI also did restart...
View Articlea problem with chunked encoding (3 replies)
I wrote a php script, for socks over http proxy, generating “chunked encoding” format, adding a header(Transfer-Encoding: chunked)and I first used apache, it works well.But when I used nginx/php-fpm, I...
View ArticleNginx, SOAP and POST redirect (2 replies)
Hello,I use nginx as frontend for some soap service. This service actually works with CWMP protocol, what is based on soap. I mean, that I have session, that consists of sequence of HTTP POST requests...
View Articlestream, it always aborts the first server in upstream (no replies)
A strange 'bug' in stream, it always aborts the first server in upstream eventhough there is nothing wrong with the server.2015/10/05 12:21:01 [info] 1436#684: *1 client 192.168.xxx.xxx:1994 connected...
View ArticleCan't find description for "post_action" in documentation (2 replies)
Hello.I can't find description for "post_action" in documentation.Earlier (in static version of documentation) was description of this directive.This directive is still actual?
View ArticleNginx stats - why _handled_ value differs (no replies)
Hi,Stats from server:$ curl 'http://127.0.0.1/nginx-stats'; sleep 1; curl 'http://127.0.0.1/nginx-stats'Active connections: 25849server accepts handled requests917796 917796 13323443Reading: 0 Writing:...
View Article301 executes before authentication (5 replies)
I have a server block that contains the following:auth_basic "Please log in.";location = / {return 301 https://$host:$server_port/folder/;}I noticed that /folder/ is appended to the URL before the user...
View Articlefastcgi_cache / proxy_cache -> Mobile / Desktop (no replies)
Hi,Actually, I use fastcgi_cache / proxy_cache but, sometimes, I have problem with how this cache is read... causing confusion for some sites when open mobile ou desktop version.In sites/systems, there...
View ArticleCant make Proxy Next Upstream work (no replies)
Hi guys!I have a configuration taht cant make it work Here is the data. First icheck taht if i come from location2 with geo so taht it uses lcoation 2backends.. But as there are things taht are not in...
View Articlemerely testing for $ssl_protocol breaks upstream proxy only with IE8 (3 replies)
I am on nginx 1.9.4One of my https site cannot be accessed by IE8 in XP and some IE in Win 7 (getting 404).It seems nginx do the try_files locally and gave up, not going for @proxy.Works fine with...
View Article*14177278 readv() failed (104: Connection reset by peer) while reading...
Hi,We have a tomcat and nginx setup and are seeing the below error in ournginx logs.2015/10/06 11:05:00 [error] 1005#0: *3026220 readv() failed (104:Connection reset by peer) while reading upstream,...
View ArticleContent-Security-Policy header gets lowercased (2 replies)
Hi,I noticed that when adding a `Content-Security-Policy` header to theresponse, the header name gets lowercased. Neither`Content-Security-Polic` or `Content-Security-Policyy`, or any otherheader I...
View Article