Re: Weird privilege errors on Ubuntu 20.04

2021-06-14 Thread hgv
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 inst

Re: Weird privilege errors on Ubuntu 20.04

2021-06-11 Thread hgv
the difference in our file system structures is explained by my upgrade path. Still not sure if it's relevant to the Nginx issue I'm experiencing, though :) Sergey A. Osokin Wrote: --- > On Wed, Jun 09, 2021 at 05:16:17PM -0400, hgv w

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
Wed, Jun 09, 2021 at 04:57:08PM -0400, hgv wrote: > > root@k2# ls -la / | grep usr > > drwxr-xr-x 13 root root usr > > And I have a bit different layout here: > $ ls -al / | grep usr > lrwxrwxrwx 1 root root 7 Feb 1 17:20 bin -> usr/bin > lrwxrwxrwx 1

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
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 e

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
ll] WantedBy=multi-user.target Sergey A. Osokin Wrote: --- > On Wed, Jun 09, 2021 at 01:50:08PM -0400, hgv wrote: > > In case it's relevant, I believe the initially installed version was > 1.16 on > > Ubuntu 18.04. Bot

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
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. >

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
400, hgv wrote: > > /etc/systemd/system/nginx.service.d/override.conf and > > /usr/lib/systemd/system/nginx.service don't exist > > Thanks for the update. > > Not sure how nginx package has been installed on that box. So, I'd > recommend > to follow the in

Re: Weird privilege errors on Ubuntu 20.04

2021-06-09 Thread hgv
ENGTH; include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*.conf; map $uri $no_slash_uri { ~^/(?.*)$ $no_slash; } } Sergey A. Osokin Wrote: --- > Looks good to me. > > I'd like to request more files: > - /etc

Re: Weird privilege errors on Ubuntu 20.04

2021-06-08 Thread hgv
directories. > > Thanks. > > -- > Sergey > > On Tue, Jun 08, 2021 at 03:57:59PM -0400, hgv wrote: > > Hi Sergey, > > > > Adding www-data user to ssl-cert group doesn't help. > > > > root@k2# usermod -a -G ssl-cert www-data > >

Re: Weird privilege errors on Ubuntu 20.04

2021-06-08 Thread hgv
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. > >

Passing a special Magento URL to PHP-FPM

2020-05-16 Thread hgv
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/r