Oops...I included the wrong Nginx config parameters in my previous post. :) proxy_buffering on; proxy_buffers 16 16k; proxy_buffer_size 16k; proxy_busy_buffers_size 16k; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_cache_bypass $http_upgrade;by hgv - How to...
Hi, I use Nginx (1.21.0) as an upstream proxy for a node GraphQL backend running on the same instance. I get occasional "an upstream response is buffered to a temporary file" entries in the Nginx error log. I would like to understand if that's a bad or neutral thing and, if applicable, how I can improve my config. If I've understood correctly, proxy buffering can occur if the clienby hgv - How to...
Yes, it is reproducible on Ubuntu 20.04 as the headline of this thread implicates :) Sergey A. Osokin Wrote: ------------------------------------------------------- > On Fri, Jun 11, 2021 at 07:29:10PM -0400, hgv wrote: > > Out of curiosity, I launched a fresh Ubuntu 20.04 AWS instance. Its > file > > system structure matches the one you have. My installation is > uby hgv - Nginx Mailing List - English
Out of curiosity, I launched a fresh Ubuntu 20.04 AWS instance. Its file system structure matches the one you have. My installation is upgraded originally from 16.04 to 18.04 to 20.04. Therefore, I also checked a fresh Ubuntu 16.04. Its file system structure matches mine. Hence, it looks like the difference in our file system structures is explained by my upgrade path. Still not sure if it'by hgv - Nginx Mailing List - English
Are you suggesting not having symbolic links to various subdirectories of /usr at the file system root is the cause of my issue? I don't have those symbolic links in any of my Ubuntu 20.04 instances. Sergey A. Osokin Wrote: ------------------------------------------------------- > On Wed, Jun 09, 2021 at 04:57:08PM -0400, hgv wrote: > > root@k2# ls -la / | grep usr > > dby hgv - Nginx Mailing List - English
root@k2# ls -la / | grep usr drwxr-xr-x 13 root root usr Sergey A. Osokin Wrote: ------------------------------------------------------- > On Wed, Jun 09, 2021 at 02:55:57PM -0400, hgv wrote: > > /lib/systemd/system/nginx-debug.service and > > /lib/systemd/system/nginx.service exist (different path then what > you > > previously asked, sorry for the misunderstby hgv - Nginx Mailing List - English
/lib/systemd/system/nginx-debug.service and /lib/systemd/system/nginx.service exist (different path then what you previously asked, sorry for the misunderstanding) /lib/systemd/system/nginx-debug.service Description=nginx - high performance web server Documentation=https://nginx.org/en/docs/ After=network-online.target remote-fs.target nss-lookup.target Wants=network-online.targetby hgv - Nginx Mailing List - English
In case it's relevant, I believe the initially installed version was 1.16 on Ubuntu 18.04. Both have since been upgraded to current versions. hgv Wrote: ------------------------------------------------------- > Nginx has been installed from the official Nginx repository. > > /etc/apt/sources.list.d/nginx.list > > deb http://nginx.org/packages/mainline/ubuntu/ focal &gby hgv - Nginx Mailing List - English
Nginx has been installed from the official Nginx repository. /etc/apt/sources.list.d/nginx.list deb http://nginx.org/packages/mainline/ubuntu/ focal nginx Sergey A. Osokin Wrote: ------------------------------------------------------- > On Wed, Jun 09, 2021 at 11:46:32AM -0400, hgv wrote: > > /etc/systemd/system/nginx.service.d/override.conf and > > /usr/lib/systby hgv - Nginx Mailing List - English
/etc/systemd/system/nginx.service.d/override.conf and /usr/lib/systemd/system/nginx.service don't exist /etc/nginx/nginx.conf below user www-data; worker_processes auto; pid /run/nginx.pid; worker_rlimit_nofile 16384; events { worker_connections 1024; use epoll; multi_accept on; } http { sendfile on; tcp_nopush on; tcp_nodelay on;by hgv - Nginx Mailing List - English
Yes, certainly. drwxr-xr-x root root /etc drwxr-xr-x root root /etc/ssl drwxr-x--- root ssl-cert /etc/ssl/private Sergey A. Osokin Wrote: ------------------------------------------------------- > Hi, > > Could you check and show permissions on /etc/ssl/private, /etc/ssl, > and /etc directories. > > Thanks. > > -- > Sergey > > On Tue, Junby hgv - Nginx Mailing List - English
Hi Sergey, Adding www-data user to ssl-cert group doesn't help. root@k2# usermod -a -G ssl-cert www-data root@k2# getent group ssl-cert ssl-cert:x:112:postgres,www-data Sergey A. Osokin Wrote: ------------------------------------------------------- > Hi there, > > hope you're doing well. > > On Tue, Jun 08, 2021 at 11:46:32AM -0700, Palvelin Postmaster wrote:by hgv - Nginx Mailing List - English
I wonder what can cause these weird error log entries? The log entries indicate a PID which doesn’t exist. Does nginx launch some temporary process when it starts? Nginx 1.21.0 on Ubuntu 20.04. root@k2:~# systemctl restart nginx root@k2:~# tail /var/log/nginx/error.log 2021/06/08 21:25:32 1287733#1287733: the "user" directive makes sense only if the master process runs with super-uby hgv - Nginx Mailing List - English
I’m trying to learn how to pass special Magento 1.x URLs such as this to a PHP-FPM backend. /js/index.php/x.js?f=prototype/prototype.js,prototype/validation.js,mage/adminhtml/events.js,mage/adminhtml/form.js,scriptaculous/effects.js All the Nginx configs I’ve found (e.g. https://gist.github.com/rafaelstz/3bc3343017dd0118a577) include the same configuration blocks but I wonder if this eveby hgv - Nginx Mailing List - English