Magento-2-aws-cluster-terraform icon indicating copy to clipboard operation
Magento-2-aws-cluster-terraform copied to clipboard

Nginx issues

Open youanden opened this issue 2 years ago • 1 comments

The nginx user doesn't have access to read the /var/run/php/php7.4-fpm.sock file. setfacl has allowed nginx access to read the web root, but not the php socket.

Also, a constant seems to have not been replaced in nginx configuration: nginx: [emerg] host not found in "INSTANCE_LOCAL_IP:80" of the "listen" directive in /etc/nginx/sites-enabled/magento.conf:5

I've replaced with:

listen 80;

youanden avatar Apr 02 '22 18:04 youanden

fixed this issue must be working now

magenx avatar Apr 03 '22 09:04 magenx