This problem occurs in both Debian 10 and Ubuntu 18.04
Not doing anything fancy just attempting a plain vanilla install.
Any help would be appreciated
Using a plain playbook:
- hosts: openwisp2
become: "{{ become | default('yes') }}"
roles:
- openwisp.openwisp2
vars:
with this in the hosts: with my url
[openwisp2]
And successfully running
ansible-playbook -i hosts playbook.yml -u ansible -k --become -K
The admin page produces a 502 Bad gateway
The nginx error log produces:
2020/08/27 06:25:54 [error] 15584#15584: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 47.32.121.71, server:
myhost.com, request: "GET /admin HTTP/1.1", upstream: "uwsgi://
127.0.0.1:3031", host: "
myhost.com"