I’m 100% sure about the port and configured it correctly because I copied the command from the task to make sure my task is correct, but still the task is getting failed
- 'nginx' is not using correct port on App Server 3
It would be helpful if you could also explain what steps you missed or what wasn’t done properly. That way, others who face the same issue can learn from your experience and avoid the same mistakes.
I was using custom app.conf file to define custom port for nginx. In that case, I have to edit /etc/nginx/nginx.conf file and comment the complete following block
I was able to resolve this by removing the TLS Server block in the nginx.conf file, only issue is that that server block is COMMENTED so nginx is NOT reading it, it shouldn’t be an issue. Seems like the "check’ button only checks for plaintext and not what the actual conf file is doing. I had to do this lab six times and I finally decided to delete that commented server block.