In the documentation PHP 7.2 gets installed. However in the nginx webserver configuration the php 7.1 socket still gets used, resulting in a 502 bad gateway error.
Change fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; to fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
Done, thanks
Most helpful comment
Done, thanks