I want to run the Nginx server and PHP-FPM.
But the web page does not open (502 Bad Gateway)
I'll find out that the pool (php7.1-fpm) is not running
Ii is all my project 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FRobocop01%2Fphp-joomla-vm&sa=D&sntz=1&usg=AFQjCNHT3NfiyroD--V1e5v1TZyX_LUx5g>

      
      
        
- name: install php{{ php.version }}-fpm

      
      
        
  apt: name=php{{ php.version }}-fpm state=present

      
      
        



      
      
        
- name: delete default config

      
      
        
  file: path=/etc/php/{{ php.version }}/fpm/pool.d/www.conf state=absent

      
      
        



      
      
        
- name: render php fpm pools config

      
      
        
  template: src=pool-template.j2 dest=/etc/php/{{ php.version }}/fpm/pool.d
/{{ item.name }}

      
      
        
  with_items: '{{ apps }}'
 notify: restart php-fpm 




воскресенье, 5 ноября 2017 г., 12:31:26 UTC+3 пользователь Dick Visser 
написал:
>
> Hi 
>
> I see only an error, and nothing more. 
> In order to help you we need to know what you are trying to achieve. 
> The ansible playbook would be a good start. 
>
> DIck 
>
> On 5 November 2017 at 09:02, Artur001 <[email protected] <javascript:>> 
> wrote: 
> > It is my error. 
> > 
> > /var/log/nginx/joomla_error.log 
> > 2017/11/04 22:18:14 [crit] 10876#10876: *1 connect() to 
> > unix:/run/php/php7.1-fpm.sock failed (2: No such file or directory) 
> while 
> > connecting to upstream, client: 192.168.5.1, server: joomla.devv, 
> request: 
> > "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", 
> > host: "192.168.5.2" 
> > 
> > How will decide that problem? 
> > 
> > 
> > пятница, 3 ноября 2017 г., 16:12:02 UTC+3 пользователь Artur001 написал: 
> >> 
> >> Hi everyone 
> >> 
> >> I'm trying to make a film project 
> >> But the test site does not open (neither by ip nor PC). 502 Bad Gateway 
> >> I think the problem is in the configuration settings of nginx or 
> php-fpm. 
> >> 
> >> Thanks 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Ansible Project" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/2da87a87-3c34-4caf-9eaa-27a98a13db43%40googlegroups.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Dick Visser 
> GÉANT 
>
> Want to join us? We're hiring: https://www.geant.org/jobs 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e4a1aa2b-c8b3-4228-b4c1-d43a7ec86ec7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to