You may right. But I lost all my configuration that I made 9 months ago and forget all of them. I use certbot to renew my certificate. Have no idea last time (2 weeks ago) when renew my certificate the redirect proxy_pass stop working. When I add as a new issue in github certbot I get reply to write here.
I need to set my config so I can run certbot to install my certificate.
If this is not a place to ask, do you know where I can a information about my post?
Please view some of the following articles from a Google search that can help with your nginx configuration. Early in my career when I was coming up I found the Digital Ocean guides to be very helpful.