Setup SSL for Nginx task failed - 1

@Inderpreet/@Tej-Singh-Rana

I completed setting up SSL for Nginx, but still the task is failed. Below are my screen shots (any help will be useful for me to understand the issue and gain more knowledge).

First is Nginx.conf file:
Nginx.conf

After configuring nginx.conf file & created html, i have executed curl command which has below output

curlOutput

I guess it’s because it’s running on port 80.