Tried the following:
sudo setsebool httpd_can_network_connect 1 -P
turning off Selinux
turning off firewalld
Versions
Confluence 8.5.3
Nginx 1.14
Java 11