Hi everyone, I want to redirect my website's http to https, but I'm running into a problem.
Listen 80 cannot be used in nginx because answer is occupied.
If answer does not use 80, such as 9001 or the like, http cannot be accessed.
What should be the correct configuration?