nginx -T will provide you with the config that is used for the delivered version of nginx 1.18.0 under fedora. That's a good starting point. Steve January 7, 2021 4:47 PM, "Phoenix Kiula" <phoenix.kiula@gmail.com (mailto:phoenix.kiula@gmail.com?to=%22Phoenix%20Kiula%22%20<phoenix.kiula@gmail.com>)> wrote: Thank you Thomas. Much appreciate this, it sounds promising. Apprby GreenGecko - Nginx Mailing List - English
You can't say that. Which fpm model are you using? dynamic, ondemand? Makes a huge difference. If you have a memory leak, ensure your workers are killed on a regular basis. Don't want you near my servers for sure! Steve October 18, 2017 1:17 PM, "Peter Booth" wrote: Agree, I work as performance architect , specializing in improving the performance of trading applications and highby GreenGecko - Nginx Mailing List - English
That'll be it then. I'd added cache control headers. Thanks for the swift reply. Mass edit coming up! Steve On 22/06/17 08:34, Reinis Rozitis wrote: >> The solution was to also add that header to the location{} block that >> I use to manage the relevant static resources. > >> This seems rather strange. Is it supposed to work this way? > > If your location blocks conby GreenGecko - Nginx Mailing List - English
Hi folks, As a precaution against CORS, I add_header Access-Control-Allow-Origin *; outside any location{} block in my server{} definition. I have recently had a problem where I deliver .css via a CDN, and that CDN references font files also on the CDN, and this was triggering CORS, so the font wasn't loaded. The solution was to also add that header to the location{} block that I useby GreenGecko - Nginx Mailing List - English
Using the answer at https://serverfault.com/questions/597671/load-balancing-in-nginx-with-redirect-rather-than-proxy as a basis, why not set $loc_redirect to the upstream host name, and then |location / { |||return 302 $scheme://$loc_redirect$request_uri;| }| ( although negating the stickiness of the upstream redirect may have the odd unwanted site effect ). On 26/05/17 03:36, Jesus artecheby GreenGecko - Nginx Mailing List - English
Hi, On 23/04/17 05:36, Dewangga Bachrul Alam wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hello! > > I got confused and no hint(s) about map directive co-exist with > try_files directive. Is it right to think using map directive? Or any > alternative? > > The goals is, I want to avoid many location like : > > ... snip ... > indexby GreenGecko - Nginx Mailing List - English
Hi, On 03/03/17 03:40, polder_trash wrote: > Hi, > > > I already tried adding both IP addresses to the DNS. But this, rather > predictably, only sent a handful of users to the secondary node. > This should not be the case ( well, for bind anyway ), as it should be delivering them in a round robin fashion. Alternatively ( bind again ) you can set up a split horizon DNS to deliby GreenGecko - Nginx Mailing List - English
Hi, On 01/17/2017 02:37 PM, Peter Booth wrote: > I'm curious, why are you using tmpfs for your cache store? With fast local storage bring so cheap, why don't you devote a few TB to your cache? > > When I look at the techempower benchmarks I see that openresty (an nginx build that comes with lots of lua value add) can serve 440,000 JSON responses per sec with 3ms latency. That's on fiveby GreenGecko - Nginx Mailing List - English
On 12/01/2016 08:30 AM, Jonathan Vanasco wrote: > > On Nov 28, 2016, at 4:07 PM, Jeff Dyke wrote: > >> And you do get a small SEO boost for being https forward. > > Not necessarily -- some SEO engines are now doing the opposite, and > penalizing non-https sites. Google announced plans to start labeling > non-https sites as "insecure" in 2017 too. > > Iby GreenGecko - Nginx Mailing List - English
On 11/30/2016 09:17 AM, Lukas Tribus wrote: >>> Does it cause warnings in the webmaster tools? Who cares? >>> Does it affect your ranking? I doubt it. >>> Does it index pages or error pages from the default website and assign to >>> your website? I doubt that even more. >> Does it upset my customer? YES. >> >> That's all the justification I neeby GreenGecko - Nginx Mailing List - English
On 11/29/2016 09:28 PM, Lukas Tribus wrote: > > What I don't see is why and how that would be a problem, even when HTTPS > is not properly setup for that particular domain. > > Does it cause warnings in the webmaster tools? Who cares? > Does it affect your ranking? I doubt it. > Does it index pages or error pages from the default website and assign to > your website? I doubby GreenGecko - Nginx Mailing List - English
On 11/29/2016 09:55 AM, Lukas Tribus wrote: >> It seems that search engines are probing https: even for sites that >> don't offer it > Which is fine. > > > >> just because it's available for others, with the end >> result that pages are being attributed to the wrong site. > Sounds like an assumption. Any real life experience and > evidence backing this?by GreenGecko - Nginx Mailing List - English
This is more a philosophical than technical question I suppose. Is it necessary to purchase a SSL cert for all domains sharing an IP address if one of them uses https? It seems that search engines are probing https: even for sites that don't offer it, just because it's available for others, with the end result that pages are being attributed to the wrong site. To me, it seems to be a problemby GreenGecko - Nginx Mailing List - English
Hi, On 25/09/16 14:10, Grant wrote: > Is there anything I can do to speed up the initial connection? It > seems like the first page of my site I hit is consistently slower to > respond than all subsequent requests. This is the case even when my > backend session is still valid and unexpired for that initial request. > Is 'multi_accept on;' a good idea? > > - Grant If you usby GreenGecko - Nginx Mailing List - English
Hi, On 09/21/2016 05:51 PM, Sushma wrote: > Thanks for the details. > I have explicitly changed permissions for directories as required. > But the problem I am facing here is nginx reload fails due to permission > denied for proxy_temp folder. > I had explicitly changed permissions for this folder so that it could be > accesssed by user abc (user with which nginx is running). &gby GreenGecko - Nginx Mailing List - English
Hi, On 09/19/2016 10:41 PM, basti wrote: > Hello, > I have a perl/ gci script that creates a dir and within that an subdir > with permission 0750. The owner of the dirs are www-data. > > nginx can't delete the dirs because this is run as user nginx. > is there a way to set the user for perl/cgi to nginx? only for this > location? > > best regards > > _____________by GreenGecko - Nginx Mailing List - English
Hi folks, I am running php as fastcgi, replacing a working apache/mod_php setup. I'm pretty close, but am not quite there. The last bit I've got to get working is... RewriteRule ^(.*)$ index.php Which I understand to mean pass the request in a variable called query. My (not working ) attempt is: location / { try_files $uri $uri/ @rewriteapp; }by GreenGecko - Nginx Mailing List - English
Gah... On 08/26/2016 01:31 PM, steve wrote: > I know this is a bit off topic, but has anyone got this module to work? > > I have added > > concat_types text/css application/x-javascript application/javascript; > > to nginx.conf, scope http > > added > > > location /css/ { > concat on; > concat_max_files 30; > } > > to the server confiby GreenGecko - Nginx Mailing List - English
I know this is a bit off topic, but has anyone got this module to work? I have added concat_types text/css application/x-javascript application/javascript; to nginx.conf, scope http added location /css/ { concat on; concat_max_files 30; } to the server config and the code contains <link rel="stylesheet" type="text/css" href="/css/??file1.css,file2.by GreenGecko - Nginx Mailing List - English
Hi! On 08/10/2016 03:07 PM, Dewangga Bachrul Alam wrote: > Hello! > > I am using module small_light > (https://github.com/cubicdaiya/ngx_small_light), since the module can't > detect which browser can process webp transformation, I creating a > simple directive on nginx to detect chrome and opera only and fallback > the rest to jpeg/jpg. > > But, if the origin is not jpby GreenGecko - Nginx Mailing List - English
Hi folks. This is a new one on me. I'm migrating a site from apache, and it's got some minification so that js and css files are presented as: <link rel="stylesheet" type="text/css" href="/css/1.css,/css/2.css,/css/3.css" media="screen" /> as an example... Anyone seen this before, and have an idea how to address it to get it working?? Unsurprisiby GreenGecko - Nginx Mailing List - English
On 06/21/2016 03:59 AM, CJ Ess wrote: > Check that you have both the certificate and any intermediate > certificates in your pem file - you can skip the top-most CA > certificates as those are generally included in your browser's CA > store - but the intermediates are not. > > I believe Nginx wants certs ordered from bottom-most (your cert) to > top-most (ca's cert) - it uby GreenGecko - Nginx Mailing List - English
On 03/16/2016 06:33 AM, Roswebnet wrote: >> None of the links above mention that IE supports HTTP/2 negotiation >> using NPN. > Agree. > >> I guess it supports only ALPN, which isn't supported by OpenSSL >> version in your Ubuntu 15.10. > I have just researched installed openssl. > > root@LIA-RP-VS-WEB:/etc/nginx/tls# openssl version -a -v -b -o -f -p -d >by GreenGecko - Nginx Mailing List - English
does /var/log/nginx exist, and it is writeable by the web server user? On 03/05/2016 07:12 AM, Giulio Loffreda wrote: > Still having no luck. > No log is generated. > > TCP connection has any relation to web socket support configuration ? > > this is my site config. > > server { > listen 80; > server_name myhost.com; > access_log /var/loby GreenGecko - Nginx Mailing List - English
As you're using a 'privileged' port ( ie one with a value lower than approx 1000 ), the process needs to be run by a superuser. You can set it up through sudo to reduce the risk for an ordinary user. On 02/13/2016 07:22 AM, smsmaddy1981 wrote: > Any other feasibility to achieve restart of Nginx from user other than root? > > Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264by GreenGecko - Nginx Mailing List - English
HI, On 01/25/2016 12:27 PM, smsmaddy1981 wrote: > Hi Team, > root user is must for NGinx restart? > Everytime of restart, prompts for root user than other users. PID's are not > getting killed...for the running process with project users. > > I tried solution of adding entry to Sudoers file with an path of executable > script. No luck. Following are the changes made > >by GreenGecko - Nginx Mailing List - English
On 11/04/2015 08:33 AM, itpp2012 wrote: > See http://mailman.nginx.org/pipermail/nginx/2015-September/048680.html > > Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262577,262579#msg-262579 > > Thanks. I've taken the easier way out and removed http2 from http traffic and all is well. -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linby GreenGecko - Nginx Mailing List - English
Many thanks. On 11/04/2015 08:22 AM, Richard Stanway wrote: > You've set port 80 to listen with http2, but you're not passing > --http2 to curl so you're getting back an unexpected binary http2 > response. Due to lack of ALPN I suggest you don't use http2 on port 80. > > On Tue, Nov 3, 2015 at 8:05 PM, steve <steve@greengecko.co.nz > <mailto:steve@greengecko.co.nz>>by GreenGecko - Nginx Mailing List - English
Hi folks, I'm having a problem with the configuration of my site... basically, I use a default server config to redirect traffic to my www. site under https, but the http: redirection doesn't work. Here's the redirect server config: server { listen 101.0.108.116:80 default http2; listen 127.0.1.1:80 http2; listen [2401:fc00:0:106::6]:80 default http2; liby GreenGecko - Nginx Mailing List - English
Hi, On 11/02/2015 08:48 PM, Xiaokai Wang wrote: > hi all, > > Sorry to bother you again, I find pictures cannt show clearly, so > copy statistics below. thanks again. > > I find a performace decreasing when I update centos5.4 to centos7.1 > and the same time nginx-1.2.7 to nginx-1.8.0. > > Exacted statistics as below: > > Tasks: 177 total, 3 running,by GreenGecko - Nginx Mailing List - English